AC_SEARCH_LIBS and non-cdecl calling conventions (was: pkg-config wisdom)

2009-10-26 Thread Ralf Wildenhues
* Matěj Týč wrote on Sun, Oct 25, 2009 at 03:05:26PM CET: > There is one big issue with AC_SEARCH_LIBS: If you use a different > calling convention than cdecl (like stdcall, but I don't know, they've > just told me), you will get unresolved symbols if you try to link > without a proper include file

Re: [autoconf] Re: pkg-config wisdom

2009-10-26 Thread Tim Post
On Fri, 2009-10-23 at 12:36 +0900, mpsuz...@hiroshima-u.ac.jp wrote: > >* Their custom built library is not used, the system's is. > > Indeed. It might be popular when default pkg-config prefix > is differnt from the prefix that users install their own > libraries. Have you experienced the troubl

Re: [autoconf] Re: pkg-config wisdom

2009-10-26 Thread Tim Post
On Fri, 2009-10-23 at 09:56 -0500, Bob Friesenhahn wrote: > This is not to say that pkg-config doesn't work well; it is just best > for a carefully built and well integrated environment rather than one > incrementally put together over time. That is very likely the best way to explain it. I may

Re: pkg-config wisdom

2009-10-26 Thread Tim Post
On Sun, 2009-10-25 at 11:07 -1000, William Pursell wrote: > Alfred M. Szmidt wrote: > >> pkg-config is broken because it checks for the existance of > >> libraries, and not for the features that are required for the > >> program to run. > > > >It does not even check for the existen

Re: pkg-config wisdom

2009-10-26 Thread Tim Post
On Mon, 2009-10-26 at 12:28 +1100, Russell Shaw wrote: > William Pursell wrote: > > Alfred M. Szmidt wrote: > >> pkg-config is broken because it checks for the existance of libraries, > >> and not for the features that are required for the program to run. > >> > > > > It does not even check for th

Re: pkg-config wisdom

2009-10-26 Thread John Calcote
Matěj, On 10/25/2009 8:05 AM, Matěj Týč wrote: There is one big issue with AC_SEARCH_LIBS: If you use a different calling convention than cdecl (like stdcall, but I don't know, they've just told me), you will get unresolved symbols if you try to link without a proper include file (or something l

Re: pkg-config wisdom

2009-10-26 Thread Matěj Týč
On Mon, 2009-10-26 at 10:46 -0600, John Calcote wrote: > Matěj, > > On 10/25/2009 8:05 AM, Matěj Týč wrote: > > There is one big issue with AC_SEARCH_LIBS: If you use a different > > calling convention than cdecl (like stdcall, but I don't know, they've > > just told me), you will get unresolved s

AC_SEARCH_LIBS and non-cdecl calling conventions (was: pkg-config wisdom)

2009-10-26 Thread Ralf Wildenhues
Hello, * John Calcote wrote on Mon, Oct 26, 2009 at 05:46:07PM CET: > On 10/25/2009 8:05 AM, Matěj Týč wrote: > >There is one big issue with AC_SEARCH_LIBS: If you use a different > >calling convention than cdecl (like stdcall, but I don't know, they've > >just told me), you will get unresolved sy

Getting a list of available C compilers

2009-10-26 Thread Harlan Stenn
Does anybody have (a pointer to) a small utility that will return a list of available C compilers on a system? Extra points if it can ferret out multiple instances/versions of gcc... -- Harlan Stenn http://ntpforum.isc.org - be a member! ___ Autoco