[Lazarus] on ARM Linux ,SoftFloat and EABI issues
Nataraj S Narayan
nataraj at gsis.ac.in
Sat May 31 13:29:31 CEST 2008
Henry,
Thanks for the suggestions. Will try cross compiling. I cross compile using
"/home/nataraj/arm-2008q1/arm-none-linux-gnueabi-".
Freepascal wiki says to install fpc for the native x86 machine first.
Then go for fpc-arm version 2.0.4. Which version of fpc should i install
in native host - 2.2.0 or 2.0.4? Also, for cross compiling 2.0.4 ,how do
i specify the said cross bin utils ?
regards
Nataraj
Henry Vermaak wrote:
> 2008/5/30 Nataraj S Narayan <nataraj at gsis.ac.in>:
>
>> Hi Florian and other friends
>>
>> I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek
>> board with 340x220 display. I need to write lots of console kinda apps.
>>
>> I am using a "qemu-system-arm" emulated Armel Debian machine on a
>> Debian x86 Lenny distro for writing code. I installed
>> fpc-2.2.0.arm-linux.tar on the emulated linux.
>> Which compiling a simple helloworld.pas , i get the classic error of
>> System.o being EABI 0 while target is EABI 4.
>>
>> I have got the svn download of fpc, and trying to compile it in the
>> emulated machine for ARM for the past 2 days. I have given :-
>>
>> make clean all ARCH=arm OPT="-CfSoft".
>>
>
> the makefiles use CPU_TARGET, but this shouldn't be necessary when
> you're compiling natively (or inside an emulator, even).
>
> i'd recommend going the cross compile route (since i know that works
> with trunk). just compile binutils (./configure --target arm) and
> compile fpc with:
>
> make crossall CPU_TARGET=arm CROSSOPT="-CfSOFT"
>
> you can use other envvars, too, just inspect the makefile if you're
> brave, or read the buildfaq for some good info.
>
> henry
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
More information about the Lazarus
mailing list