Mail Archives: djgpp/2001/08/23/00:00:55
I'm trying (desperately, at this point) to build a linux->dos cross
compiler with binutils-2.8.1, gcc-2.95.3, and djcrx203. I could
probably
change versions a bit if that would help, but it's essential that the
compiler handle C, C++, and inline asm code correctly.
In the past 48 hours, I've read so many docs, makefiles, and shell
scripts
that my head is spinning! I've tried building the cross-compiler in
many
different ways, with varying degrees of success, but haven't really
gotten
it right.
The closest I've come is a compiler which works for simple hello.c and
hello.cpp, but still has these problems:
- It needs to be explicitly told the location of system includes like
stdio.h
- It chokes on something like:
#include <map>
in C++.
- Probably more stuff that I haven't stumbled upon yet.
My question is: has anyone out there actually managed to build a
working
linux->dos cross-compiler from fairly recent versions of binutils and
gcc?!
Is there a kind soul out there willing to lend a hand to someone who
stayed up all night thinking "I'll tweak the magic line in this magic
script, and then it will just WORK" ?
I would gladly welome pointers to up-to-date docs and tools, any tips
from
personal experience, even a two-line email that says "Yeah, it's
definitely possible; I did it a month ago..."
The details of my efforts have varied, but all the strategies
basically revolve around the steps outlined at:
http://www.delorie.com/howto/djgpp/linux-x-djgpp.html
Thanks for any help you can offer,
Will Robinson
wsr23 AT stanford DOT edu
- Raw text -