Subject: Re: gcc34 on darwin
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 04/18/2005 13:22:16
On Fri, Apr 15, 2005 at 12:25:42PM +0200, Manuel Bouyer wrote:

> /usr/bin/libtool: -static not specified, -L invalid
> /usr/bin/libtool: can't map file: /usr/pkg/gcc34/lib ((os/kern) invalid argument)
> gnumake[3]: *** [libgcc_s.dylib] Error 1
> gnumake[2]: *** [libgcc.a] Error 2
> gnumake[1]: *** [stage1_build] Error 2
> gnumake: *** [bootstrap] Error 2
> *** Error code 2
> 
> I can't see how libtool got called here. Is there a pkgsrc wrapper comming
> in the process here ?
> Any idea how to fix it ?

the Darwin linker uses /usr/bin/libtool internally to build dylibs. it
is quite different from GNU libtool and one is not a replacement for
the other.

grant.