Next configuration patch for *-*-freebsd

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu May 10 22:07:00 GMT 2001


Loren James Rittle wrote:

> > It seems to me from looking at gcc/config/freebsd.h that the
> > compiler should already be using -lc_r in the -pthread case, so
>
> [Yup, it surely does when -pthread was provided on the *command* line.
>  But libjava is now hacking the lib spec behind the back of a port.
>  It is unclear that this usage was ever considered when spec files
>  were first designed.]

Yeah, it looks like you're right (I'm no expert on the spec language either).

Given that no-one else has spoken up and there doesn't seem to be any other
easy way to do it, your patch is okay for the trunk if you add a comment in
libgcj.spec.in explaining what is going on. Also, I think it would be better
to call the configure variable LIBSPEC instead of LIBORIG.

regards

  [ bryce ]




More information about the Java-patches mailing list