Article View: gnu.gcc.help
Article #949Re: Problem building gcc 2.5.8 on SCO Unix 3.2
From: Dave Snyder
Date: Fri, 04 Feb 1994 17:34
Date: Fri, 04 Feb 1994 17:34
79 lines
4121 bytes
4121 bytes
In article <floperotCKox71.uu@netcom.com>,
Florence Perot <floperot@netcom.com> wrote:
} I am experiencing a problem while trying to build gcc 2.5.8 on SCO Unix 3.2.
}
} Has anyone built this version of gcc successfully on SCO Unix 3.2, and if so
} did they encounter this problem and know how to fix it?
}
I have built version after version of gcc on my SCO Unix 3.2.4.1 machine
and I **NEVER** had any problems. This is the EXACT procedure I follow...
BTW, I don't give configure any arguments when I run it.
Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip
This file documents the installation of the GNU compiler. Copyright
(C) 1988, 1989, 1992 Free Software Foundation, Inc. You may copy,
distribute, and modify it freely as long as you preserve this copyright
notice and permission notice.
Installing GNU CC
*****************
Here is the procedure for installing GNU CC on a Unix system.
1. If you have built GNU CC previously in the same directory for a
different target machine, do `make distclean' to delete all files
that might be invalid. One of the files this deletes is
`Makefile'; if `make distclean' complains that `Makefile' does not
exist, it probably means that the directory is already suitably
clean.
3. Specify the host and target machine configurations. You do this by
running the file `configure' with appropriate arguments.
If you run `configure' without specifying configuration arguments,
`configure' tries to guess the type of host you are on, and uses
that configuration type for both host and target.
8. Build the compiler. Just type `make LANGUAGES=c' in the compiler
directory.
10. Move the first-stage object files and executables into a
subdirectory with this command:
make stage1
12. Recompile the compiler with itself, with this command:
make CC="stage1/xgcc -Bstage1/" CFLAGS="-O" LANGUAGES="c c++"
13. If you wish to test the compiler by compiling it with itself one
more time, then do this:
make stage2
make CC="stage2/xgcc -Bstage2/" CFLAGS="-O" LANGUAGES="c c++"
Then compare the latest object files with the stage 2 object
files--they ought to be identical, aside from time stamps (if any).
Use this command to compare the files:
make compare
15. Install the compiler driver, the compiler's passes and run-time
support with `make install'.
make install CC="stage2/xgcc -Bstage2/" CFLAGS="-O" LANGUAGES="c c++"
17. If you're going to use C++, it's likely that you need to also
install the libg++ distribution. It should be available from the
same place where you got the GNU C distribution. Just as GNU C
does not distribute a C runtime library, it also does not include
a C++ run-time library. All I/O functionality, special class
libraries, etc., are available in the libg++ distribution.
Here --------- Snip Here --------- Snip Here --------- Snip Here --------- Snip
DAS
--
David Snyder @ Snide Computer Services - Folcroft, PA Current Release
is db4glgen-3.17
UUCP: ..!uunet!das13!dave INTERNET: dave@das13.snide.com
Technical Details
Message-ID:
<2131@das13.snide.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!dsinc!das13!daveReferences:
<floperotCKox71.uu@netcom.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6571b893459d22be,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1122ea,6571b893459d22be,start X-Google-Attributes: gid1122ea,public X-Google-ArrivalTime: 1994-02-04 09:34:40 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!sdd.hp.com!saimiri.primate.wisc.edu!dsinc!das13!dave From: dave@das13.snide.com (Dave Snyder) Newsgroups: gnu.gcc.help,biz.sco.general Subject: Re: Problem building gcc 2.5.8 on SCO Unix 3.2 Message-ID: <2131@das13.snide.com> Date: 4 Feb 94 17:34:40 GMT References: <floperotCKox71.uu@netcom.com> Followup-To: gnu.gcc.help Organization: Snide Computer Services - Folcroft, PA Lines: 79