Newsgroups: comp.sys.atari.st Path: utzoo!utgpu!watserv1!maytag!aftermath!ljdickey From: ljdickey@aftermath.waterloo.edu (L.J.Dickey) Subject: Re: Why won't GCC work ??? Organization: University of Waterloo Date: Tue, 20 Nov 90 13:41:47 GMT Message-ID: <1990Nov20.134147.19663@aftermath.waterloo.edu> Keywords: GCCEXEC References: <1990Nov14.204315.14160@lonex.radc.af.mil> <6197@harrier.ukc.ac.uk> Lines: 39 In article <6197@harrier.ukc.ac.uk> mtp@ukc.ac.uk (M.T.Paley) writes: >In article <1990Nov14.204315.14160@lonex.radc.af.mil> longj@lonex.radc.af.mil (Jeffrey K. Long) writes: >>I am having a heck of a time getting GCC working on our 4 Meg 1040ST >>with TOS1.2 here at work. > [...] >This happened to me when I first got GCC, the problem is that you have not set >your enviroment variables correctly. The vital ones are: > >GNULIB The location of the library ( .olb ) files. >GNUINC The location of the include ( .h ) files >GCCEXEC The location of the GCC executables > I made modest modifications to the "gnu.g" file supplied by J. Bammi, and had complete success the first time I used the GCC compiler. My modification of his file starts with: # Sample Gulam script # set up commands for gcc and gas # alias cc f:\gccexec\gcc setenv cc f:\gccexec\gcc.ttp alias as f:\gccexec\gcc-as setenv as f:\gccexec\gcc-as.ttp alias cpp f:\gccexec\gcc-cpp setenv cpp f:\gccexec\gcc-cpp.ttp and ends with: # # NOTE: beginning with gcc V1.37, GNUINC and GNULIB can be # ',' or ';' seperated list of dirs. # gcc-cpp looks for GNUINC first, if not found then GNULIB # setenv GNUINC 'g:\include,f:\include' setenv GNULIB 'f:\lib,g:\lib' setenv GCCEXEC f:\gccexec\gcc- setenv TEMP h: I hope this helps.