Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-03-01 Thread Ian Jackson
Doug Goldstein writes ("Re: [PATCH v2 3/4] m4/python: fix checks for Python library support"): > You need to put your libraries after the sources. e.g. > gcc -W -march=native -Llibs -o program program.c -lm -lcustom Of course. I really was quite thick last week! I have queued this patch now.

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Doug Goldstein
On 2/22/16 10:22 AM, Ian Jackson wrote: > Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python > library support"): >> AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on >> platforms that do as needed operations by default will result in >> underlinking.

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Doug Goldstein
On 2/22/16 10:22 AM, Ian Jackson wrote: > Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python > library support"): >> AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on >> platforms that do as needed operations by default will result in >> underlinking.

Re: [Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-22 Thread Ian Jackson
Doug Goldstein writes ("[PATCH v2 3/4] m4/python: fix checks for Python library support"): > AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on > platforms that do as needed operations by default will result in > underlinking. Instead AC_CHECK_LIB() suggests supplying the extra

[Xen-devel] [PATCH v2 3/4] m4/python: fix checks for Python library support

2016-02-18 Thread Doug Goldstein
AC_CHECK_LIB() was running gcc -Llib -lm -lutils conftest.c which on platforms that do as needed operations by default will result in underlinking. Instead AC_CHECK_LIB() suggests supplying the extra libraries necessary in a 5th argument. Signed-off-by: Doug Goldstein --- CC: