DragonFly bugs List (threaded) for 2007-12
DragonFly BSD
DragonFly bugs List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Is this a gcc41 bug?


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sat, 15 Dec 2007 16:40:40 -0800

On Sat, 15 Dec 2007, walt wrote:

> ...
> g++  -O2 -Wl,-R/usr/pkg/lib -Wl,--as-needed -o .libs/gparser parser.o
>  -Wl,--export-dynamic -Wl,--rpath,/usr/pkg/lib -lgnashbackend -lgnashserver
>  -lgnashbackend -lgnashamf -lgnashgeo -lgnashbase   <lots of non-linker
>   garbage snipped for legibility>

Well, I just discovered that removing the --as-needed flag fixes the problem
when using g++ to link.  Any idea why it works in NetBSD but not DFly?





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]