Mail Archives: djgpp/1998/03/19/23:58:51
At 10:25 3/18/1998 -0800, Andrew Crabtree wrote:
>
>Nate Eldredge wrote in message <199803180234 DOT SAA02869 AT adit DOT ap DOT net>...
>>At 02:52 3/17/1998 +0200, Yoav Shadmi wrote:
>>> I was told that it is possible to use gcc to cross-compile to dos
>>> from linux (instead of booting dos and using DjGPP).
>>Yes, it's possible and in fact quite easy.
>I wouldn't quite say easy. There are some tricky issues with getting
>binutils working, and it differs from 2.7 and 2.8. Plus, depending on
>configuration various aspects of the make process can be tricky.
Well, for *me*, on an i486-linux Slackware system, it was quite easy. YMMV
of course.
>
>>Oh yeah, one note: I think GCC might expect to be built with `cc'. If so,
>>just symlink `gcc' to `cc' and it works.
>
>Configure should take care of this. Or setting CC=gcc or HOST_CC=gcc should
>work.
All right. I think I had a `cc' symlink, and when GCC used it I figured it
always did. (This is for 2.7.2.1.) The docs talk about the stage 1 compiler
being built with `cc', on the theory that you're bootstrapping.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -