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.


_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to