This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pulling my hair out trying to build linux->dos cross compiler


Will:


An updated, not-ready-for-prime-time FAQ is at
http://crossgcc.billgatliff.com.  Maybe that'll help.

I haven't used DOS in so long, I'm not going to be any more help than
that...  :^(


b.g.

On Wed, Aug 22, 2001 at 06:07:43PM -0700, Will Robinson wrote:
> 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
> 

-- 
Bill Gatliff
bgat@billgatliff.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]