BZ #40: when compiling without libjvm sometimes linking with -lm is needed

Status fields:

creation_ts:2007-07-24 15:18
component:build system
version:unspecified
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:WONTFIX
reporter:heinold@inf.fu-berlin.de
I am compiling cacoa with uclibc instead of glibc because uclibc builds a lot
faster. I discoverd when compiling cacog without libjvm, that some mathematical
symbol(scalbn) could not be find. I grabed an idea from the bochs-team and
customize it for cacao. Now configure is able to find out if the -lm is needed
or not.

Comment #1 by heinold@inf.fu-berlin.de on 2007-07-24 15:19:23

Created an attachment (id=12)
patch for discover is -lm is needed or not

Comment #2 by twisti@complang.tuwien.ac.at on 2007-07-25 12:07:38

Could you paste the linking error?

Comment #3 by twisti@complang.tuwien.ac.at on 2008-03-05 16:39:53

Is this bug still valid?  Otherwise I close it.

Comment #4 by twisti@complang.tuwien.ac.at on 2008-03-30 23:10:28

I close that one.

Attachment id=12

date:2007-07-24 15:19
desc:patch for discover is -lm is needed or not
type:text/x-diff
download:libmath.patch