pulling my hair out trying to build linux->dos cross compiler
Will Robinson
wsr23@stanford.edu
Wed Aug 22 18:07:00 GMT 2001
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..."
Thanks,
Will Robinson
wsr23@stanford.edu
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list