Article View: gnu.gcc.help
Article #261Building gcc on SCO 3.2v4
From: Gordon Marler ext. 4609
Date: Wed, 26 Aug 1992 23:17
Date: Wed, 26 Aug 1992 23:17
36 lines
1731 bytes
1731 bytes
I've been trying to build gcc v2.2.2 on SCO 3.2v4 (WITH a development system). Here are the steps I take, and the problem that occurs: 1. configure --target=i386-*-sco3.2v4 Everything links up well here, except that it seems that tm.h is symbolically linked to config/i386sco.h instead of config/i386sco4.h 2. make LANGUAGES=c Everything compiles well. 3. make stage1 The move occurs properly with a few ignored errors about being unable to access the protoize and unprotoize files, among others. 4. make CC="stage1/gcc -Bstage1/" CFLAGS="-g -O" LANGUAGES=c Everything works well until the compilation of cccp.c. When the link runs, the definition of fileno is not found (not surprising, since it is a macro). It seems that this is caused by a failure to define _POSIX_SOURCE. Now I tried to link tm.h to config/i386sco4.h, which seems to define the _POSIX_SOURCE constant, but the same error occurs. What have I done incorrectly? E-mail can be sent to marler@proteus.lonestar.org in preference to the addresses given in the signature. -- T. Gordon Marler | Somewhere there's danger, somewhere there's Reynadyne Data Systems | injustice, and somewhere else the tea is (817) 652-4693 | getting cold! -- Dr. Who ...!digi!reynard!gordonm OR marler@bme.uta.edu
Technical Details
Message-ID:
<1992Aug26.231710.788@rendyn1.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!texsun!digi!rendyn1!gordonmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!texsun!digi!rendyn1!gordonm From: gordonm@rendyn1.uucp (Gordon Marler ext. 4609) Newsgroups: gnu.gcc.help Subject: Building gcc on SCO 3.2v4 Keywords: Posix Source weird defines Message-ID: <1992Aug26.231710.788@rendyn1.uucp> Date: 26 Aug 92 23:17:10 GMT Distribution: na Organization: Reynadyne Data Systems Lines: 36