[fpc-devel] cannot compile fpc 2.6.0 for mips
Sven Barth
pascaldragon at googlemail.com
Sat Jan 7 11:43:10 CET 2012
On 07.01.2012 10:09, Florian Klämpfl wrote:
> Am 07.01.2012 06:33, schrieb Andrew Haines:
>> Hi,
>>
>> I was trying to build a cross complier for mips-linux and met this error:
>>
>> make crossinstall PP=/usr/local/lib/fpc/2.6.0/ppcx64 OS_TARGET=linux
>> CPU_TARGET=mipsel
>> ....
>> make[4]: Entering directory
>> `/home/andrew/programming/fpc-2.6.0/packages/fcl-web'
>> ./fpmake clean --localunitdir=../.. --globalunitdir=.. --os=linux
>> --cpu=mipsel -o -Pmipsel -o -XPmipsel-linux- -o -Xr -o -Ur -o -Xs -o -O2
>> -o -n -o -Fu/home/andrew/programming/fpc-2.6.0/rtl -o
>> -Fu/home/andrew/programming/fpc-2.6.0/packages/hash -o
>> -Fu/home/andrew/programming/fpc-2.6.0/packages/paszlib -o
>> -Fu/home/andrew/programming/fpc-2.6.0/packages/fcl-process -o
>> -Fu/home/andrew/programming/fpc-2.6.0/packages/fpmkunit -o -FE. -o
>> -FUunits/mipsel-linux -o -dmipsel -o -dRELEASE
>> --compiler=/home/andrew/programming/fpc-2.6.0/compiler/ppcross
>> An unhandled exception occurred at $0000000000423596 :
>> EInstallerError : Invalid CPU name "mipsel"
>> $0000000000423596
>> $000000000042BEC1
>> $000000000042B70C
>> $000000000042E015
>> $000000000043BE2B
>> $000000000043BE67
>> $0000000000400278
>>
>> make[4]: *** [clean] Error 217
>>
>> Anybody know which version of fpc supports mips the best?
>
> trunk, however mips was never in a working state in svn.
This looks more like a problem of fpmake though. Because the mips CPUs
are missing in fpmkunit.pas (and at least the target OS "nativent" is
missing as well btw.).
Regards,
Sven
More information about the fpc-devel
mailing list