bug-autoconf
[Top][All Lists]
Advanced

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

AC_TRY_LINK command line problem


From: Yevgen Muntyan
Subject: AC_TRY_LINK command line problem
Date: Tue, 09 Jan 2007 23:17:09 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060809 Debian/1.7.13-0.3

Hey,

AC_TRY_LINK puts LDFLAGS before conftest.c on compilation
command line, and it fails with mingw. Here, it made the following:

/usr/bin/i586-mingw32msvc-gcc -o conftest.exe -O2 -I/usr/local/win/gtk/include -mms-bitfields -march=i686 -I/usr/local/win/gtk/include -I/usr/local/win/Python24/include -L/usr/local/win/gtk/lib -L/usr/local/win/Python24/libs -lpython24 conftest.c

It produces linker errors, undefined reference to whatever is in libpython24.
AC_COMPILE_IFELSE does work fine.

Please CC me, I am not subscribed to the list (hope the letter gets
to the list).

Thank you,
Yevgen





reply via email to

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