🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #23469

Re: gcc/g++ installation question

#23469
From: Chris Herborth
Date: Wed, 27 Jan 1993 03:29
40 lines
1967 bytes
In <1993Jan26.012750.23019@magnus.acs.ohio-state.edu>, Joseph W Reiss writes:
> 1.  What programs/files do I need to run GNU c and g++?  This includes
> libraries, header files, programs and anything else important.

I got all of the 2.2.2 files, the latest MiNT libraries, and a bunch of
other stuff, and jammed it all together...  ;-)  Warwick or Howard Chu
would be a much better reference here.

> 2.  Where do they go?  (as far as directory structure and such.)

Wherever you want.  Don't mix the C++ and C include files though.  Mine
live in:

g:\gnu\bin     GCC/G++ binaries
g:\gnu\incl    C include files
g:\gnu\incl++  C++ include files
g:\gnu\lib     C/C++ libraries

> 3.  What kind of environmental variables are needed?

Here's the appropriate part from my mupfel.mup (or tcsh.rc under MiNT):

# some of these are probably redundant...
setenv GCCEXEC g:\gnu\bin\
# setenv GCC_EXEC_PREFIX g:\gnu\bin\
# use "unsetenv GCC_EXEC_PREFIX" under tcsh instead of the next line!
setenv GCC_EXEC_PREFIX
setenv GNUEXEC $GCCEXEC
setenv GNULIB "g:\gnu\lib;g:\usr\lib"
setenv GNUINC "g:\gnu\incl;g:\usr\incl"
setenv GCCLIB $GNULIB
setenv GCCINC $GNUINC
setenv GXXINC "g:\gnu\incl++;g:\gnu\incl++\ams"

# Just in case I forget...
alias cc gcc
-- 
-------------------========================================-------------------
Chris Herborth
cherborth@semprini.tdkcs.waterloo.on.ca
Technical Details
Message-ID: <H.ea.ySBGMutC2Bk@semprini.tdkcs.waterloo.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!xenitec!tdkcs.waterloo.on.ca!semprini.tdkcs.waterloo.on.ca!cherborth
References: Re: gcc/g++ installation question

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!xenitec!tdkcs.waterloo.on.ca!semprini.tdkcs.waterloo.on.ca!cherborth
From: cherborth@semprini.tdkcs.waterloo.on.ca (Chris Herborth)
Newsgroups: comp.sys.atari.st
Message-ID: <H.ea.ySBGMutC2Bk@semprini.tdkcs.waterloo.on.ca>
Organization: InterZONE Design
Subject: Re: gcc/g++ installation question
Summary: I need help!
References: Re: gcc/g++ installation question
Reply-To: cherborth@semprini.tdkcs.waterloo.on.ca
X-Software: HERMES GUS 1.04 Rev. Sep  5 1992
Date: Tue, 26 Jan 1993 22:29:44 EST
Lines: 40