Article View: gnu.gcc.help
Article #51484GCC and ODT 2.0 work-arounds.
From: John A. Perry
Date: Sun, 09 May 1993 12:32
Date: Sun, 09 May 1993 12:32
26 lines
1653 bytes
1653 bytes
Hello Everyone!
There havs been some questions about building GCC 2.3.3 on SCO
ODT 2.0. I have been working on it and have come up with some
work-arounds that will allow GCC to be built on ODT 2.0. Here is what
I did to make it work. Any corrections are welcome.
1. In the Makefile, I added a define for _POSIX_SOURCE. This
needs to be done for both RCCFLAGS and INTERNAL_CFLAGS.
2. In gcc.c I changed the include for signal.h to sys/signal.h
and I commented out the include for file.h.
3. In protoize.c there is a if-else construct at the beginning
that will cause dirent.h or dir.h to be included. Under ODT 2.0 the
dirent.h include is the one that seems to work.
After having done these things, I was able to compile all 3
stages and am now a happy user of GCC 2.3.3. FYI I'm not a programming
guru so if any of this is incorrect, don't blame me. I'm just passing
along what worked for me.
--
John A. Perry (KG5RG) - perry@jpunix.com
jpunix!perry
MIME & PGP supported at this site!
PGP Key available on request by sending e-mail to any of the following:
Technical Details
Message-ID:
<C6rEtu.LG2@jpunix.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!jpunix!perryShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9dc1205b0119c1eb,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-09 06:47:22 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!menudo.uh.edu!jpunix!perry From: perry@jpunix.com (John A. Perry) Subject: GCC and ODT 2.0 work-arounds. Organization: J. P. and Associates, Dickinson TX. Date: Sun, 9 May 1993 12:32:17 GMT Message-ID: <C6rEtu.LG2@jpunix.com> Lines: 26