bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl-config --libs incorrectly returns -lm on Haiku.


From: Jerome Kelleher
Subject: [Bug-gsl] gsl-config --libs incorrectly returns -lm on Haiku.
Date: Mon, 24 May 2010 14:38:34 +0100
User-agent: KMail/1.13.3 (Linux/2.6.32-22-generic; KDE/4.4.3; x86_64; ; )

Hello,

There is a problem when building applications that require GSL on Haiku OS. 
When using gsl-config --libs to determine the compiler flags required to build 
GSL applications on Haiku, gsl-config wrongly returns -lm along with other 
libs. Since libm does not exist on Haiku, this causes the compilation to fail.

GSL builds and installs without a problem; editing gsl-config to remove the -lm 
dependency fixes the problem.

Details:

GSL Version: 1.14 (downloaded from GNU mirror)
Hardware: Qemu virtual machine
OS: Haiku shredder 1 r36769 May  8 2010 20:58:31 BePC Haiku
Compiler: gcc 2.95.3-haiku-100420, used with standard options.
Description: gsl-config incorrectly returns -lm
Program: any compilations using the options returned by gsl-config will fail.

Please let me know if I can provide any more information. I would be happy to 
test any patches to fix this; I'm afraid I don't know enough about the GSL 
autoconf setup to propose a fix.

Thank you for the GSL.

Best wishes,
Jerome



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




reply via email to

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