At 7:58 PM -0400 5/31/02, Jeremy Erwin wrote:
>
>Is there a way to get fink to properly expand $(CC) ? i.e
>SetCPP: $(CC) -E -traditional-cpp
>does not seem to work; it's flagged as "not sane" by configure-- the 
>shell variable does not correctly expand.


CC is really just supposed to be the name of the compiler app.. flags 
go in CFLAGS/CPPFLAGS.

Preferably you should be able to use:

SetCC: cc
SetCPP: c++
SetCFLAGS: -E -no-cpp-precomp
SetCPPFLAGS: -E -no-cpp-precomp

cc and c++ will always be there on 10.1 and 10.2. (linked appropriately)

-traditional-cpp is deprecated, -no-cpp-precomp is its replacement. 
See http://fink.sourceforge.net/doc/porting/basics.php

-Ben
-- 
http://homepage.mac.com/bhines/

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to