[Mplayer-dev-eng] configure c++ compiler detection

Christoph Lampert lampert at math.chalmers.se
Wed Aug 29 14:23:44 CEST 2001


>> 2) It should not be needed to use $CC as C++ compiler, too.
>is there standard enviroment var for defining C++ compiler?

CXX, if I remember correctly?  and CXXFLAGS instead of CCFLAGS?
sometimes also CCC? I never use it...

gruel

---------- From autoconfig INSTALL ------------------------

(a) Standard autoconfig variables

    Variable: CC     
    Synopsis: Name of C compiler.
    Sample usage: The following will ensure that 'cc' is used
       for the C compiler.

       setenv CC cc
    
    Variable: CXX
    Synopsis: Name of C++ compiler.
    Sample usage: The following will ensure that 'CC' is used
       for the C++ compiler.

       setenv CXX CC
    
    Variable: CFLAGS
    Synopsis: Flags to be passed to the C compiler (the configure 
       script will generally append additional flags)
    Sample usage: 

       setenv CFLAGS -O2
    
    Variable: CPPFLAGS
    Synopsis: Flags to be passed to the C pre-processor  (the configure 
       script will generally append additional flags)
    Sample usage: 

       setenv CPPFLAGS -DSOME_FLAG

    Variable: CXXFLAGS
    Synopsis: Flags to be passed to the C++ compiler (the configure
       script will generally append additional flags)
    Sample usage: 

       setenv CXXFLAGS -O2

    Variable: LDFLAGS
    Synopsis: Flags to be passed to the loader/linker (the configure
       script will generally append additional flags)
    Sample usage: 

       setenv LDFLAGS -lrnpl





-- 
Dipl. math. Christoph Lampert (complex analysis, integral formulae)
Email: gruel at gmx.de                |     Email: lampert at math.chalmers.se


_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list