* Tim Kientzle <[EMAIL PROTECTED]> [040113 15:41] wrote: > Alfred Perlstein wrote: > >It will refuse to strip symbols if: > > > >foo.o:func1() references bar.o:func2(). > > > >But I need it to. > > I suppose there are good reasons why you > cannot compile everything into a single > .o file for distribution? > > > cat master.c > #include <foo.c> > #include <bar.c> > > gcc -o master.o master.c > > Now you have a single .o file with everything > in it and there are therefore no cross-module > references within your library.
It would be more trouble than it's worth. I use libssl and libcrypto, it would be a nightmare to #include all those .c files as well as compile it... without incemental compilation it would hurt. What I wound up doing was loading the creating a static object to load my module... er yeah.. :) -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"