At 12:30 22-6-2006, you wrote:
Steve Williams wrote:
Koenraad Lelong wrote:

Hi,
When I ty to compile fpc-svn for arm-linux it stops with Internal error 200203271 when buildgtk2.pp/gtkspinbutton.inc is compiled.



Was there a solution for this? I've just come across this error now while trying to build fpc-svn for arm-linux as well. I'm using the following command line on Win32 from the root of the fpc source tree.

make all OS_TARGET=linux CPU_TARGET=arm CROSSBINDIR=c:\devkitpro\devkitgp2x\bin BINUTILSPREFIX=arm-linux-


I want to make sure I have this right. I wish to build ppcarm.exe that runs on Win32 and will create an arm-linux ELF. Is OS_TARGET and CPU_TARGET as used above correct? Or do I use PPC_TARGET=arm? Is there any documentation on these parameters? The Build FAQ gives an example of building a compiler to run on another system. I want to build a compiler to run on my system that can build executables for another system.

The commandline is correct. It will give you both a cross compiler called ppcrossarm and a native compiler called ppcarm.

The IE is a code generation bug. That needs to be debugged. You can compile with OPT='-gl -dEXTDEBUG' to get a backtrace were the IE happends in the compiler.


Peter

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to