Article View: gnu.gcc.help
Article #52021Re: gcc-2.3.3 for Interactive Unix ?
From: Michael Hirsch
Date: Sun, 14 Feb 1993 14:06
Date: Sun, 14 Feb 1993 14:06
63 lines
2943 bytes
2943 bytes
root@buc.edu.au (Operator) writes: : Has anyone managed to compile gcc-2.3.3 under Interactive Unix version 3.0 ? : System V is foreign to me and I`m having a little trouble ;-( : I have run with `configure --target=i386-ibm-sysv` and also tried : `--with-gnu-as` - this works just fine - no errors. Then I do : `make LANGUAGES=c' which runs with no errors. However, when : I do `make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" I get the message - : : undefined symbol fileno first referenced in file cccp.o - ld fatal : : I have /usr/bin before /usr/ucb in my path by the way, so as not to : use a suspect `cc` . : : Gary Walker : gjw@buc.edu.au Symbol "fileno" is defined in the POSIX library only; you need to link with -lcposix. I managed to build gcc 2.3.3 on ISC 3.0 doing the following: 1. su to root, then set ulimit to something big (eg. 400000) 2. ./configure -target=i386-isc3.0 (i386-isc is fine, too) 3. make LANGUAGES=c Note: At the very end of this step, "enquire -f" crashes while creating file "float.h" due to an uncaught floating point exception. I was able to work around this problem by running "enquire" from within the debugger (sdb) and continuing the program when the floating point exception hits. For example: % sdb enquire * r -f > float.h * c (whenever program stops because of FPE) * q (when sdb says 'program terminated') % I have a 386/33 ISA System with no 387; on a 486 or 386+387 System this problem might not show up (I couldn't verify, because I have no access to such a system). 4. make stage1 5. make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" The same problem with "enquire" happens, the same workaround will cure it. 6. make stage2 7. make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" Again, "enquire" fails... 8. make compare No differences are reported. 9. make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" 10. make install-fixincludes Gcc works fine, I was able to build libg++ 2.3 and groff 1.06 with (almost) no trouble. --mh --------------------------------------------------------------------- Michael Hirsch Usterstrasse 71c, CH-8620 Wetzikon, Switzerland Phone: +41 1 930 34 74 E-Mail: mike@rolivaw.pr.net.ch
Technical Details
Message-ID:
<C2Fz7C.yM@rolivaw.pr.net.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!chsun!rolivaw!mikeReferences:
<1l9gr4INNq30@eureka.buc.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,24eadcd598605c9a X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-02-14 12:42:32 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!chsun!rolivaw!mike From: mike@rolivaw.pr.net.ch (Michael Hirsch) Subject: Re: gcc-2.3.3 for Interactive Unix ? Message-ID: <C2Fz7C.yM@rolivaw.pr.net.ch> Organization: Private X-Newsreader: Tin 1.1 PL4 References: <1l9gr4INNq30@eureka.buc.edu.au> Date: Sun, 14 Feb 1993 14:06:47 GMT Lines: 63