[fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

Luca Olivetti luca at ventoso.org
Sun Jun 1 13:43:58 CEST 2008


En/na Luca Olivetti ha escrit:
> En/na Luca Olivetti ha escrit:
>> En/na Florian Klaempfl ha escrit:
>>
>>>>
>>>> make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-'
>>>
>>> It's -dFPC_ARMEL
>>
>> /me smacks head into nearby wall
>>
>> Thanks, I'll try
>>
>> Bye
> 
> /home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems 
> -Fu/home/luca/fpc-svn/rtl/units/arm-linux -Fiarm -FE. 
> -FUarm/units/arm-linux -dRELEASE -CfSOFT -dFPC_ARMEL -O- -darm -dGDB 
> -dBROWSERLOG  pp.pas
> /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/sbox-arm-linux-ld:./link.res: 
> file format not recognized; treating as linker script
> /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/sbox-arm-linux-ld:./link.res:281: 
> syntax error
> pp.pas(209,27) Error: Error while linking
> pp.pas(209,27) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> 
> 
> The content of link.res around line 281:
> 
>     279   /* Adjust the address for the data segment.  We want to adjust 
> up to
>     280      the same address within the page on the next page up.  */
>     281   . = ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT 
> (MAXPAGESIZE) - 1));

Without "-dFPC_ARMEL" it gets past this stage, but that's not what I want.

Bye
-- 
Luca




More information about the fpc-pascal mailing list