autoconf
[Top][All Lists]
Advanced

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

Re: ac_check_funcs(getloadavg) with gcc 3.3


From: Bob Friesenhahn
Subject: Re: ac_check_funcs(getloadavg) with gcc 3.3
Date: Mon, 19 Jan 2004 11:53:34 -0600 (CST)

On Mon, 19 Jan 2004, Hanspeter Roth wrote:

>   On Jan 19 at 08:58, Bob Friesenhahn spoke:
>
> > The key is to not use C++ to execute these tests.  Use C while
> > checking for library functions.  Only set the language to C++ while
> > testing C++ related features.
>
> Does it make sense to run test in C while the function getloadavg() is
> used in a C++ Module?

Presuming that your C and C++ compilers are ABI compatible and the C++
compiler uses the same C libraries as the C compiler, then certainly
it makes sense to check for C functions using the C compiler.  It also
helps Autoconf work. :-)

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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