[fpc-pascal] Internal error 200203271

Steve Williams stevewilliams at kromestudios.com
Thu Jun 22 15:00:34 CEST 2006

Marco van de Voort wrote:
>>> 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.
> Try make cycle instead rest the same.
> If you want to do it using make all that is all possible, but then you
> probably also need a OPT='-darm'

There is no 'make cycle' target at the root of the fpc source tree.  
Tried the OPT='-darm' option, but now it stops with the error "ONLY one 
of the switches for the CPU type must be defined" because make puts 
-di386 in there.

This is the command line.
d:\fpc>make all OS_TARGET=linux CPU_TARGET=arm 
CROSSBINDIR=c:\devkitpro\devkitgp2x\bin BINUTILSPREFIX=arm-linux- 

I can get a ppcarm.exe compiled by using PPC_TARGET=arm, but I still 
need to get the arm-linux units compiled.


This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

More information about the fpc-pascal mailing list