Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!haven!uvaarpa!mmdf From: evans@decvax.dec.com Newsgroups: comp.lang.perl Subject: Re: Problems with DS3100 'cc' defines .vs. /usr/lib/cpp Message-ID: <2736@uvaarpa.virginia.edu> Date: 22 Feb 90 19:35:06 GMT Sender: mmdf@uvaarpa.virginia.edu Reply-To: evans@decvax.dec.com Lines: 15 |Notice that both "mips" and "LANGUAGE_C" need to be defined. I |can also imagine similar cases on other systems where the |"standard" defines are supplied by "cc", and not by "cpp". Again, |in my opinion, the simplest case is to try to let "cc" do the |invocation of "cpp". I agree with this idea. At issue is the fact that the Configure mechanism wants to supply the input to the pre-processor via stdin, rather then through a file. If it were to be supplied in a file, like how all of the source code is supplied, then alot of the problem would go away. If you look through the Configure script, you will discover that it does know about 'cc -E' which should do the *right thing* on MIPS boxes, assuming the test file is called something like "foo.c". - Marc