Re: ppc32 lisp-kernel makefile

Gary Byers <[email protected]> Sun, 28 Aug 2005 21:33:38 -0600 (MDT)
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>

On Sun, 28 Aug 2005, bryan o'connor wrote:

> i needed to add -lgcc to OSLATELIBS in order to build dppccl
> on ppc32.  otherwise restFP and saveFP are missing.  it's
> not needed for ppc64.
>
>    ...bryan
>
>

There's this weird crock in the Makefile (ccl/lisp-kernel/darwin/Makefile)
that tries to handle differences between GCC 4.0 on Tiger and GCC 3.x
on earlier systems; the crock says that if the installed GCC can find
an absolute path to libSystemStubs.a (introduced in Tiger), then
OSMIDDLELIBS gets set to -lSystemStubs, otherwise it's set to -lgcc.

It might be that this is done incorrectly, but I don't think that we
can unconditionally assume that either of these libraries can be found.

What OS version and what GCC version did this happen on ?