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

See the CrossGCC FAQ for lots more infromation.


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

How do I build a cross compiler for Windoze/dos under Linux?


I have been trying in vain to build a cross-compiler for the
Windoze(NT) or D(r)OS environment.

I have sucessfully configured binutils using:-
       
       configure --target=i486-winnt

but I cannot get gcc configured.

Whatever architecture/OS I try, I get the following:-

lennon:/usr/src/egcs-1.1.2# ./configure i486-windowsnt
Created "Makefile" in /usr/src/egcs-1.1.2
Configuration i486-pc-winnt not supported
Configure in /usr/src/egcs-1.1.2/gcc failed, exiting.

What do I need to do? I have tried every possible combination and
variant of the crap OS that I can think of but I always get this
message. As I say, binutils has configured using the above command line
and has even compiled. Do I need to actually install the binutils
stuff to get gcc to configure? If so what do I do? 

I am reluctant to simply run 'make install' in the binutils source
tree as I don't want to bugger up my normal gcc/g++.

Any suggestions would be gratefully received as there doesn't seem to
be any linux "HOWTO's" on this subject. (I wonder why not. I would
have thought that developing/compiling under Linux and then merely
copying the executable to an inferior OS would have been a popular
thing!). 

BTW I am not interested in building GUIs under Linux and expecting
them to run under Windoze---I am only interested in developing
command-line utils under Linux and being able to simply copy then over
to the Microsoft crap and have them run OK. If I can crack this I may
then build a cross compiler for VMS under alpha (if that is possible).

I think I am in need of some sort of documentation along the lines of a
Linux HOWTO. Does anyone know of such a thing? (free of charge of
course!).


Thanks in advance

Alastair

-- 
		
		----------------------------------------

			There are things known,
			There are things unknown...
			In between are The Doors.




------
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]