Date: Thu, 3 Jun 93 14:13:55 EDT From: DJ Delorie To: gt8741b AT prism DOT gatech DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: More about cross-compiling > Ok, I decided to try and make a cross-compiler on the school's suns. First, > I compiled gas and the binutils, and that went ok, but I can't configure gcc. > This is what I type for all 3: configure --target=i386-go32. That worked > fine for gas and binutils, but gcc didn't recognize go32 as a system type. > I noticed that there is a "configure.bat" that looked like the right thing > for building djgpp under DOS, but I don't know if it will make a cross-compiler > correctly. Also, what do I do for a library? Can I just get the libraries > from the djgpp distribution? Yes, gcc doesn't just know how to be a cross-compiler. You must follow the instructions in INSTALL for *manual* configuration, using the file information found in the configure.bat script. You will need to obtain the djlsr110.zip (library sources) module and cross-compile those as well. For more information about building cross-compilers, rcharif AT math DOT utexas DOT edu has build a sparc->dos cross compiler already. The djgpp mailing list archives on sun.soe.clarkson.edu:pub/msdos/djgpp/djgpp will have a message from him about it, or you can poke around on math.utexas.edu:pub/msdos/djgpp-cross.