home *** CD-ROM | disk | FTP | other *** search
- gcc-2.7.2.2.I.README
- Mar 1996
-
-
- This archive contains the following pre-built
- binaries:
- gcc-2.7.2.2
- g77-0.5.20
- libg++-2.7.2
-
- built on and for the i386-next-nextstep3 platform. includes drivers
- for both
- i386-next-nextstep3
- and
- m68k-next-nexstep3 (a cross-compiler)
- targets.
-
- These have been built for and tested on NEXTSTEP 3.3, but may also work
- on other versions. This build will mostly like NOT work on OpenStep 4.0
- and later.
-
-
- INSTALLATION
-
- unpack into /usr/local, and you're done. Issue the following commands
- as root:
- cd /usr/local
- gnutar xzvf /PathToArchive/gcc-2.7.2.2.I.b.tar.gz
-
- NOTE: you STILL need the nexstep developer
- packages installed in order to use this, as it
- uses NeXT's supplied C libraries. Also, in order to use the
- m68k-next-nextstep3 cross-compiler, you need the
- DeveloperLibs installed for m68k (in addition to i386).
-
- Now if someone ported glibc (GNU libc) to NEXTSTEP, that
- would be something!
-
-
- CROSS-COMPILER
-
- It's a little tricky to use the cross-compiler,
- as it's usage differs a bit from NeXT's cc compiler.
- To produce m68k binaries, envoke as:
- gcc -bm68k-next-nextstep3 foo.c
-
- FAT binary NOTE: gcc cannot (easily) create FAT binaries, at least
- not in the same sense of NeXT's cc, ie,
- cc -arch m68k -arch i386 foo.c
- With gcc, you need to create to separate binaries, and then lipo
- them together by hand.
-
- This is my first attempt at a cross compiler, so it may not work
- perfectly (ie, your mileage may vary), but I was able to use it to
- produce a m68k binary for my recent port of octave (v2.0.5).
- One thing, I had a small problem with compiling c++. I had to
- specify -L/usr/local/lib at link time, else it tries to like
- against /lib/libg++.a (bad) instead of /usr/local/lib/libg++.a.
-
-
- CREDITS
-
- GNU Software
- http://www.gnu.ai.mit.edu/
-
- Packager
- Rex Dieter <rdieter@math.unl.edu>
- Computer System Manager
- Universtity of Nebraska-Lincoln
- Department of Mathematics and Statistics
- http://www.math.unl.edu/~rdieter/
-
-