autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with check for functions with Sun CC


From: Andreas Schwab
Subject: Re: Problem with check for functions with Sun CC
Date: Thu, 02 May 2002 18:46:26 +0200
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux)

Martin Frydl <address@hidden> writes:

|> The compiler complains about extern "C". My question is whether this is
|> autoconf bug or should I use ./configure CC=cc CXX=CC to really use C
|> compiler for these tests.

The latter.  You cannot expect meaningfull results when compiling C code
with a C++ compiler.  C and C++ are quite different languages.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]