dws@uafhcx.uucp (David W. Summers) (02/16/90)
To: All you GNU gurus and 386 hackers out there (the GOOD kind of hackers, of course :-) . I have recently upgraded to a 25Mhz 386 machine running Xenix 386 2.3.1. However I DON'T have the 386 Xenix compiler, but an older 286 version of the Xenix compiler. My system has 3 Megabytes of memory. I am wanting to be able to run GNU CC on my machine to use it as a developement system. How would it be possible to get and run GNU CC on my system? Any ideas? SCO Xenix 386 2.3.1 will run COFF binaries, right? I have access to the latest SUN Sparc version of the GNU CC Compiler (version 1.37). Is it possible to cross compile to get COFF output and run it on the 386? The only other possibility I see is to get a COFF binary from someone who already has it running under System V and I assume that that will work on my system. Am I assuming correctly? I realize that I need some way to convert Xenix 2.2.3 286 libraries into COFF encapsulated format. This is the main thing that I'm worried about as I don't see how this will be possible because of the difference in architecture (sp?). If this is NOT possible then would it be possible to get a binary of the COFF encapsulated GCC, GAS, and LD and use them to build my own libraries? Also, I was able to get the GAS 386 compiled on my system after some hacking because of not enough memory to hold expressions, etc. Then after it compiled successfully it core dumped and I guess I just haven't had time enough to track down the place, or more probably 'places', where it is going astray. That is when I started wondering about cross compiling. If anyone could help or give me pointers then it would be greatly appreciated. I've seen people talking on this newsgroup about running GNU CC under System V but not really heard about it under Xenix. Thanks a lot, in advance! - David Summers (P.S. - Sorry if the formating of this is messed up....I'm on the SUN and don't know how long my lines are.)