On Wed, Dec 29, 2004 at 05:35:56PM -0800, Herb Hrowal wrote: > I'm trying to use libtool to compile and link my program. I don't care > if most of the libraries I link to are static or dynamic except 1. I > need to link to the static version of the library. My command looks > like this: > > libtool --mode=link gcc -static <all the object files> -la -lb -lc > -Wl,-Bstatic -ld -Wl,-Bdynamic -le -lf
Do you specify "-Wl,-Bstatic -ld -Wl,-Bdynamic" manually? If so, then use this: -Wl,-Bstatic,-ld,-Bdynamic > My question is why does libtool find it necessary to reorder things > for me? This is really hard to fix in libtool. It's wrong though. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
