<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span><font class="Apple-style-span" size="2">Hi, I usually create Win32 targets using this:</font></span></div><div><span><font class="Apple-style-span" size="2"><br></font></span></div><div><span><font class="Apple-style-span" size="2">make crossinstall OS_TARGET=win32 CPU_TARGET=i386 PP=/home/leonardo/Desarrollo/fpc/i386-linux-ppc386</font></span></div><div><span><font class="Apple-style-span" size="2"><br></font></span></div><div><span><font class="Apple-style-span" size="2">Now I want to create an OpenBSD cross compiler, so I just replaced "win32" by "openbsd":</font></span></div><div><span><font class="Apple-style-span" size="2"><br></font></span></div><div><span class="Apple-style-span" style="font-size: 13px; ">make crossinstall OS_TARGET=openbsd CPU_TARGET=i386
PP=/home/leonardo/Desarrollo/fpc/i386-linux-ppc386</span><span><font class="Apple-style-span" size="2"><br></font></span></div><div><span class="Apple-style-span" style="font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-size: 13px; ">But the linker is not found. This is the error I get:</span></div><div><span class="Apple-style-span" style="font-size: 13px; "><br></span></div><div><div><font class="Apple-style-span" size="2">make[5]: se ingresa al directorio «/home/leonardo/Desarrollo/fpc/rtl/openbsd»</font></div><div><font class="Apple-style-span" size="2">/bin/mkdir -p /home/leonardo/Desarrollo/fpc/rtl/units/i386-openbsd</font></div><div><font class="Apple-style-span" size="2">i386-openbsd-as -o /home/leonardo/Desarrollo/fpc/rtl/units/i386-openbsd/prt0.o i386/prt0.as</font></div><div><font class="Apple-style-span" size="2">make[5]: i386-openbsd-as: No se encontró el programa</font></div><div><font
class="Apple-style-span" size="2">make[5]: *** [prt0.o] Error 127</font></div><div><font class="Apple-style-span" size="2">make[5]: se sale del directorio «/home/leonardo/Desarrollo/fpc/rtl/openbsd»</font></div><div><font class="Apple-style-span" size="2">make[4]: *** [openbsd_all] Error 2</font></div><div><font class="Apple-style-span" size="2">make[4]: se sale del directorio «/home/leonardo/Desarrollo/fpc/rtl»</font></div><div><font class="Apple-style-span" size="2">make[3]: *** [rtl] Error 2</font></div><div><font class="Apple-style-span" size="2">make[3]: se sale del directorio «/home/leonardo/Desarrollo/fpc/compiler»</font></div><div><font class="Apple-style-span" size="2">make[2]: *** [cycle] Error 2</font></div><div><font class="Apple-style-span" size="2">make[2]: se sale del directorio «/home/leonardo/Desarrollo/fpc/compiler»</font></div><div><font class="Apple-style-span" size="2">make[1]: *** [compiler_cycle] Error
2</font></div><div><font class="Apple-style-span" size="2">make[1]: se sale del directorio «/home/leonardo/Desarrollo/fpc»</font></div><div><font class="Apple-style-span" size="2">make: *** [build-stamp.i386-openbsd] Error 2</font></div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; ">Is there an "i386-openbsd-as" linker?. Where can I find it.</div><div style="font-size: 13px; "><br></div><div style="font-size: 13px; ">BTW. I'm on Linux x86_64 (Ubuntu 11.10).</div><div style="font-size: 13px; "><br></div></div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; ">Regards,</div><div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt; ">Leonardo M. Ramé<br>http://leonardorame.blogspot.com</div></div></body></html>