Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!horga!presto!dc From: dc@presto.ruhr.de (David Channing) Newsgroups: comp.sys.atari.st.tech Subject: Re: Programming environments Message-ID: <7033366@presto.ruhr.de> Date: 16 Feb 91 10:39:12 GMT References: <1207626@presto.ruhr.de> <1991Feb14.161614.27659@uvm.edu> Lines: 30 In article <1991Feb14.161614.27659@uvm.edu> pegram@kira.UUCP (Robert B. Pegram) writes: > >> My big dilemma is trying to find a 'good' make and cc wrapper for > >> compiler 'x' (where 'x' might be MWC, Turbo-C, Alcyon (shudder), etc). > >> Any ideas? Ideally, I'd like them to work in harmony under Gulam. > > > Excuse my ignorance, but what *is* a "cc wrapper"? I can only think > of the environment variable CC that is set up sometimes in make files. The idea of cc is to have one program that calls all the right programs (pre- processors, compiler passes, optimizers, linkers) in the right order with the right command lines. Basically you set up cc so it 'knows' where to find your include files and your libraries (and the executables if they're not in the PATH). Then you just type for example: cc -f aaa.c bbb.s ccc.o ddd.lib instead of: tcc $CFLAGS -Id:\tc\include\ aaa.c mas $ASFLAGS bbb.c tlink o=aaa.prg d:\tc\lib\tcstart.o aaa.o bbb.o ccc.o ddd.lib \ d:\tc\lib\tcfltlib.lib d:\tc\lib\tcstdlib.lib -- dc@presto.ruhr.sub.org dc@presto.ruhr.de