Article View: gnu.gcc.help
Article #54212Re: Help with gcc-1.38 on ISC 386/ix
From: Michael Bloom
Date: Mon, 14 Jan 1991 11:01
Date: Mon, 14 Jan 1991 11:01
57 lines
3179 bytes
3179 bytes
In article <1991Jan14.024919.13550@dialogic.com> drich@dialogic.com (Dan Rich) writes: >To get to this point I have done the following: >1. Built gcc with cc as following the instructions (ie. config > sysv-i386-gas, make install). This includes commenting out > gnulib2 in the makefile, converting gnulib with > binutils/libconvert, and then makeing gnulib2. Arghh... I guess I don't post enough. Pick up the file: tut.cis.ohio-state.edu:/pub/gnu/coff/gnu-coff.tar.Z or osu-cis!/usr/spool/uucppublic/gnu/coff/gnu-coff.tar.Z After you've picked it up, you can forget about binutils, robotussin, etc. >3. Built ld, ar, and robotussin as per the instructions (using > alloca.o from gcc). I also had to change the two occurances of > sizeof(coffheader) to sizeof(struct coffheader) in ld.c and edit > the load path in ld.c to our local gnu library. This is a minor example of what I mean when I say that the FSF does not support the robotussin stuff. >Has anyone managed to get farther than this on a 386/ix system? Yes. Anyone who has used the files in gnu-coff.tar.Z. You perform the following steps: 0 untar gnu-coff.tar and move the contents into your build directories. 1 run patch -p in the gas 1.36 dir 2 edit the Makefile to make gas produce coff by default and a.out with the "-C option". 3 build gas and install it as gcc-as in the gcc libdir. 4 run patch -p in the gcc directory. 5 edit tm-i386gcoff.h to remove "-C" from ASM_SPEC (this will be unnecessary in the next set of patches). 6 config.gcc i386-gcoff 7 "make bootstrap" 8 run patch -p in the gdb directory 9 config.gdb i386-gcoff 10 make. I don't support gas 1.37 (because I have no way of knowing just which version of gas 1.37 you have :-), but I plan to support gas 1.38 whenever it comes out. If you are building g++, there is a patch to gnulib3.c that makes the use of collect unnecessary when used with the patched gas and the native "ld". If you are not using the libg++ distribution, you'll need to create a dummy libg++ that contains the patched gnulib3. If you ARE using the libg++ distribution, replace gnulib3 there with the patched one from the g++ directory. Failure to do this will prevent global constructors from being called, resulting in core dumps. Note: Please do not send mail to the FSF about this stuff. They do not support it, and are uninterested in supporting anything pertaining to coff. It is however, vastly better supported (by me) than the incredibly bogus coff encapsulation hacks that they do claim to support.
Technical Details
Message-ID:
<22642@ttidca.TTI.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!usc!hacgate!ashtate!psivax!ttidca!mbReferences:
<1991Jan14.024919.13550@dialogic.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8c0d7f444185a623 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-01-14 13:25:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!samsung!usc!hacgate!ashtate!psivax!ttidca!mb From: mb@ttidca.TTI.COM (Michael Bloom) Newsgroups: gnu.gcc.help Subject: Re: Help with gcc-1.38 on ISC 386/ix Message-ID: <22642@ttidca.TTI.COM> Date: 14 Jan 91 11:01:17 GMT References: <1991Jan14.024919.13550@dialogic.com> Distribution: gnu Organization: Citicorp/TTI, Santa Monica Lines: 57