[fpc-devel] OpenBsd cross compiler
Leonardo M. Ramé
martinrame at yahoo.com
Thu Apr 26 21:09:35 CEST 2012
Hi, I usually create Win32 targets using this:
make crossinstall OS_TARGET=win32 CPU_TARGET=i386 PP=/home/leonardo/Desarrollo/fpc/i386-linux-ppc386
Now I want to create an OpenBSD cross compiler, so I just replaced "win32" by "openbsd":
make crossinstall OS_TARGET=openbsd CPU_TARGET=i386 PP=/home/leonardo/Desarrollo/fpc/i386-linux-ppc386
But the linker is not found. This is the error I get:
make[5]: se ingresa al directorio «/home/leonardo/Desarrollo/fpc/rtl/openbsd»
/bin/mkdir -p /home/leonardo/Desarrollo/fpc/rtl/units/i386-openbsd
i386-openbsd-as -o /home/leonardo/Desarrollo/fpc/rtl/units/i386-openbsd/prt0.o i386/prt0.as
make[5]: i386-openbsd-as: No se encontró el programa
make[5]: *** [prt0.o] Error 127
make[5]: se sale del directorio «/home/leonardo/Desarrollo/fpc/rtl/openbsd»
make[4]: *** [openbsd_all] Error 2
make[4]: se sale del directorio «/home/leonardo/Desarrollo/fpc/rtl»
make[3]: *** [rtl] Error 2
make[3]: se sale del directorio «/home/leonardo/Desarrollo/fpc/compiler»
make[2]: *** [cycle] Error 2
make[2]: se sale del directorio «/home/leonardo/Desarrollo/fpc/compiler»
make[1]: *** [compiler_cycle] Error 2
make[1]: se sale del directorio «/home/leonardo/Desarrollo/fpc»
make: *** [build-stamp.i386-openbsd] Error 2
Is there an "i386-openbsd-as" linker?. Where can I find it.
BTW. I'm on Linux x86_64 (Ubuntu 11.10).
Regards,
Leonardo M. Ramé
http://leonardorame.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120426/34bbf408/attachment.html>
More information about the fpc-devel
mailing list