home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / 21105 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.9 KB

  1. Path: sparky!uunet!uunet.ca!xenitec!tdkcs.waterloo.on.ca!semprini.tdkcs.waterloo.on.ca!cherborth
  2. From: cherborth@semprini.tdkcs.waterloo.on.ca (Chris Herborth)
  3. Newsgroups: comp.sys.atari.st
  4. Message-ID: <H.ea.ySBGMutC2Bk@semprini.tdkcs.waterloo.on.ca>
  5. Organization: InterZONE Design
  6. Subject: Re: gcc/g++ installation question
  7. Summary: I need help!
  8. References: Re: gcc/g++ installation question
  9. Reply-To: cherborth@semprini.tdkcs.waterloo.on.ca
  10. X-Software: HERMES GUS 1.04 Rev. Sep  5 1992
  11. Date: Tue, 26 Jan 1993 22:29:44 EST
  12. Lines: 40
  13.  
  14. In <1993Jan26.012750.23019@magnus.acs.ohio-state.edu>, Joseph W Reiss writes:
  15. > 1.  What programs/files do I need to run GNU c and g++?  This includes
  16. > libraries, header files, programs and anything else important.
  17.  
  18. I got all of the 2.2.2 files, the latest MiNT libraries, and a bunch of
  19. other stuff, and jammed it all together...  ;-)  Warwick or Howard Chu
  20. would be a much better reference here.
  21.  
  22. > 2.  Where do they go?  (as far as directory structure and such.)
  23.  
  24. Wherever you want.  Don't mix the C++ and C include files though.  Mine
  25. live in:
  26.  
  27. g:\gnu\bin     GCC/G++ binaries
  28. g:\gnu\incl    C include files
  29. g:\gnu\incl++  C++ include files
  30. g:\gnu\lib     C/C++ libraries
  31.  
  32. > 3.  What kind of environmental variables are needed?
  33.  
  34. Here's the appropriate part from my mupfel.mup (or tcsh.rc under MiNT):
  35.  
  36. # some of these are probably redundant...
  37. setenv GCCEXEC g:\gnu\bin\
  38. # setenv GCC_EXEC_PREFIX g:\gnu\bin\
  39. # use "unsetenv GCC_EXEC_PREFIX" under tcsh instead of the next line!
  40. setenv GCC_EXEC_PREFIX
  41. setenv GNUEXEC $GCCEXEC
  42. setenv GNULIB "g:\gnu\lib;g:\usr\lib"
  43. setenv GNUINC "g:\gnu\incl;g:\usr\incl"
  44. setenv GCCLIB $GNULIB
  45. setenv GCCINC $GNUINC
  46. setenv GXXINC "g:\gnu\incl++;g:\gnu\incl++\ams"
  47.  
  48. # Just in case I forget...
  49. alias cc gcc
  50. -- 
  51. -------------------========================================-------------------
  52. Chris Herborth
  53. cherborth@semprini.tdkcs.waterloo.on.ca
  54.