Mail Archives: djgpp/2000/01/27/14:20:44
On Thu, 27 Jan 2000, Anders Bo Rasmussen wrote:
> I have followed the guide at
> http://www.delorie.com/howto/djgpp/linux-x-djgpp.html on how to make a
> cross-compiler from linux to dos. But when i try to compile it makes errors:
>
> $ i386-pc-msdosdjgpp-g++ halloworld.cpp
> /usr/local/i386-pc-msdosdjgpp/bin/ld: cannot open -lstdc++: No such file or directory
> $ i386-pc-msdosdjgpp-gcc halloworld.cpp
> i386-pc-msdosdjgpp-gcc: installation problem, cannot exec `stubify': No such file or directory
>
You may try script for building cross-compiler I included in gcc2952s.zip
(gnu/gcc-2.952/build.cross/). You may need to edit it as I used prefix
/usr instead of /usr/local.
At least with current source archive building cross-compiler runs without
problems for me (at time I built it last, I used kernel-2.2.14,
glibc-2.1.2, etc)
Andris
- Raw text -