Happy Windsday, everybody! :-) Thanks Volker, Steve and Hadley. I'm doing test compiling of the more modern stuff - as is where is - to work out that it's sufficiently uptodate. Then I'll try out the 'diet gcc' to work out any gotchas there. The older stuff I'll work on separately. I'll probably need to write the Makefiles for some of them from scratch - they've started off as MS-DOS packages, and need some hefty work done to get gcc happy with them. I am having fun! (I wonder, is it gross fun or net fun? ;-) Wesley Parish Quoting Hadley Rich <[EMAIL PROTECTED]>: > On Thursday 02 March 2006 22:56, Steve Holdoway wrote: > > > Is it possible to define CC in a makefile as CC = 'diet gcc' or > words to > > > that effect? > > > > you should be able to use the command line > > > > CC="diet gcc" make > > > > not that I've ever tried it with more than cc or gcc. ( or even before > the > > ./configure line of there is one, then you'll be able to forget it > from > > then on ) > > You might like to create a script with; > > #!/bin/sh > diet gcc $@ > > in it. I have distcc set up like this for C++ i.e. > > [EMAIL PROTECTED] ~]$ echo $CXX > distcc++ > [EMAIL PROTECTED] ~]$ cat `which distcc++` > #!/bin/sh > distcc g++ $@ > > [EMAIL PROTECTED] ~]$ > > From memory this was because some makefiles had problems when the CC/CXX > > variables had spaces in them. Some makefiles have gcc/g++ hard coded > into > them so you are out of luck anyway but most are good. > > hads > > -- > Money is the root of all evil, and man needs roots. > "Sharpened hands are happy hands. "Brim the tinfall with mirthful bands" - A Deepness in the Sky, Vernor Vinge "I me. Shape middled me. I would come out into hot!" I from the spicy that day was overcasked mockingly - it's a symbol of the other horizon. - emacs : meta x dissociated-press
