home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / UNIX / GNU / gcc-2.7.2.3.1-I / gcc-2.7.2.3.1-I.README < prev   
Encoding:
Text File  |  1997-12-13  |  2.4 KB  |  85 lines

  1. gcc.2.7.2.3.1.I.README
  2. Oct 1997
  3.  
  4. md5sum:
  5. 74ce335fe3bcac97b6297a3a394f9dfa  gcc.2.7.2.3.1.I.b.tar.gz (~ 5MB)
  6.  
  7. This archive contains the following pre-built
  8. binaries: 
  9. gcc-2.7.2.3
  10. g77-0.5.21
  11. libg++-2.7.2
  12.  
  13. built on and for the i386-next-nextstep4 platform.  includes drivers
  14. for both 
  15. i386-next-nextstep4
  16. and
  17. m68k-next-nexstep4 (a cross-compiler) (not done yet, if time permits)
  18. targets.
  19.  
  20.  
  21. NOTES
  22.  
  23. Regarding the versioning of this package:
  24. I tacked on a .1 to the version of this port to represent my first attempt
  25. at porting gcc v2.7.2.3 to OpenStep.  I hope this doesn't confuse people. 
  26. (-;
  27.  
  28. These have been built for and tested on OpenStep for Mach 4.2, but may also
  29. work on other versions.  This build will most likely NOT work on NEXTSTEP
  30. 3.x and earlier.  I used (for the most part) patches to gcc provided from
  31. ftp://nice.ethz.ch/users/chris/OS4/
  32. to get the newest gcc working form OpenStep for Mach 4.x.
  33.  
  34. I was unable to build a dynamic (ala shared) library version of libg++,
  35. so if you use g++, at link time, you may get a bunch of linker warnings
  36. complaining about non-moveable code in libg++ and libstdc++.  It still 
  37. works. (??)
  38.  
  39. INSTALLATION
  40.  
  41. unpack into /usr/local, and you're done.  Issue the following commands
  42. as root:
  43. cd /usr/local
  44. gnutar xzvf /PathToArchive/gcc.2.7.2.3.1.I.b.tar.gz
  45.  
  46. NOTE: you STILL need the nexstep developer
  47. packages installed in order to use this, as it
  48. uses NeXT's supplied C libraries.  Also, in order to use the
  49. m68k-next-nextstep4 cross-compiler, you need the
  50. DeveloperLibs installed for m68k (in addition to i386).
  51.  
  52.  
  53. The CROSS-COMPILER (ignore this section, for now)
  54.  
  55. It's a little tricky to use the cross-compiler,
  56. as it's usage differs a bit from NeXT's cc compiler.
  57. To produce m68k binaries, envoke gcc as:
  58. gcc -bm68k-next-nextstep4 foo.c
  59.  
  60. FAT binary NOTE: gcc cannot (easily) create FAT binaries, at least 
  61. not in the same sense of NeXT's cc, ie,
  62. cc -arch m68k -arch i386 foo.c
  63. With gcc, you need to create to separate binaries, and then use
  64. lipo.
  65.  
  66. Also, the cross-compiler doesn't look in /usr/local/lib
  67. for linking libraries, by default, like the native compiler does.  If
  68. you need to link against items in /usr/local/lib, you'll need to pass
  69. the option -L/usr/local/lib (ie, by adding to CFLAGS or LDFLAGS) to 
  70. the linker (ld).
  71.  
  72.  
  73. CREDITS
  74.  
  75. GNU Software
  76. http://www.gnu.ai.mit.edu/
  77.  
  78. Packager
  79. Rex Dieter <rdieter@math.unl.edu>
  80. Computer System Manager 
  81. Universtity of Nebraska-Lincoln  
  82. Department of Mathematics and Statistics 
  83. http://www.math.unl.edu/~rdieter/
  84.  
  85.