Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!usc!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!harrier.ukc.ac.uk!mtp From: mtp@ukc.ac.uk (M.T.Paley) Newsgroups: comp.sys.atari.st Subject: Re: Why won't GCC work ??? Summary: GCC enviroment variables Keywords: GCCEXEC Message-ID: <6197@harrier.ukc.ac.uk> Date: 17 Nov 90 14:12:11 GMT References: <1990Nov14.204315.14160@lonex.radc.af.mil> Reply-To: mtp@ukc.ac.uk (M.T.Paley) Organization: Physics Laboratory, University of Kent, Canterbury, UK Lines: 41 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. After convincing my fellow workers that GCC would >be the greatest thing since sliced bread, I grabbed the executables, incl, >libs and installed it all. I modified the sample gnu.g file to conform >to the setup and whenever I run the obligitory hello.c test, I get the >following in response to my commands: > >>cc -v hello.c -o hello.prg > >gcc version 1.37.1 > c:\gnu\bin\gcc-cpp.ttp -v -undef -D__GNUC__ -Datarist -Dgen -Dm68k > e:\hello.c d:/cc10000.cpp > ^^^^^^^^^^^^^^^ >d:/cc10000.cpp : file not found >d:/cc10000.s : file not found > 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 The one that is causing your problems is GCCEXEC, this does not fit the pattern of the other variables so can easily cause grief ( I almost abandoned GCC when I had the same problems as you ). It MUST end with a backslash while for the others this is optional, alse note that it is GCCEXEC not GNUEXEC. The GCC program should call the various compiler programs using their full names (check using the -verbose flag), if it does not then look at your GCCEXEC variable. P.S. GCC is indeed the best thing since sliced bread. Matthew -- Matthew Paley, Space Science, Physics Lab, The University, Canterbury CT2 7NR \|/ Phone: 0227 764000 ext 3834 . . Fax: 0227 762616 --*-- JANET: mtp@uk.ac.ukc . ' o o . UUCP: ...!ukc!mtp /|\ STARLINK: ZUVAD::MPALEY . o ' . . Postgrad working on LDEF MAP