2008/5/31 Nataraj S Narayan <[EMAIL PROTECTED]>: > 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 ?
i use trunk to cross compile for arm, but i think fixes_2_2 will also work. you should use 2.2.0 as a starting compiler (but 2.0.4) also works for me. you have to tell the build system where your binutils are (BINUTILSDIR=/home/nataraj/arm-2008q1/) and what prefix you use (BINUTILSPREFIX=arm-none-linux-gnueabi-). then you need to use CROSSOPT="-CfSOFT" for the softfloat business. all the packages get built for me, it just dies near the end of make crossinstall. the buildfaq contains good info (thanks to marco): www.stack.nl/~marcov/buildfaq.pdf henry _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
