Re: Convenieve libraries and applications.

2004-08-12 Thread Howard Chu
Joe Orton wrote: A good solution I found seemed to be to use partial linking rather than convenience libraries, which libtool was happy to do if you use: libtool --mode=link gcc -o libpart.o some.lo random.lo objs.lo But I don't know how portable ld -r is. All Unix linkers have supported this for

Re: Convenieve libraries and applications.

2004-08-12 Thread Joe Orton
On Thu, Aug 12, 2004 at 12:09:10PM +0900, Peter O'Gorman wrote: > There is no way to do what you want, at the moment, using libtool (to my > knowledge). "convenience" libraries are just treated as ordinary libraries > when creating an executable. I suggest that you reference the symbols in > the

Re: Convenieve libraries and applications.

2004-08-11 Thread Peter O'Gorman
Carlo Wood wrote: On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote: On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: I think this is what the -export-dynamic flag is for. -export-dynamic is to export symbols from an application so that they are available to runtime loaded c

Re: Convenieve libraries and applications.

2004-08-11 Thread Jacob Meuser
On Wed, Aug 11, 2004 at 07:07:37PM -0700, Howard Chu wrote: > Carlo Wood wrote: > > >On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote: > >>On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: > >>>I think this is what the -export-dynamic flag is for. > > >>I do believe that exp

Re: Convenieve libraries and applications.

2004-08-11 Thread Howard Chu
Carlo Wood wrote: On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote: On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: I think this is what the -export-dynamic flag is for. I do believe that exports symbols from a shared lib. He has static libs. It should also export symbols

Re: Convenieve libraries and applications.

2004-08-11 Thread Carlo Wood
On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote: > On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: > > I think this is what the -export-dynamic flag is for. > > I do believe that exports symbols from a shared lib. He has static libs. > > whole_archive_flag_spec is the va

Re: Convenieve libraries and applications.

2004-08-11 Thread Carlo Wood
On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: > I think this is what the -export-dynamic flag is for. If that is true, then it is broken. -- Carlo Wood <[EMAIL PROTECTED]> ___ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/

Re: Convenieve libraries and applications.

2004-08-11 Thread Jacob Meuser
On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote: > I think this is what the -export-dynamic flag is for. I do believe that exports symbols from a shared lib. He has static libs. whole_archive_flag_spec is the variable in libtool to look at, but that's about all I know about it. > >

Re: Convenieve libraries and applications.

2004-08-11 Thread Howard Chu
I think this is what the -export-dynamic flag is for. Carlo Wood wrote: I have a normal application (not a shared library thus) which uses convenience libraries in subdirectories. This application also uses libltdl - in order to load modules. These modules needs to resolve symbols from the applicat

Convenieve libraries and applications.

2004-08-11 Thread Carlo Wood
I have a normal application (not a shared library thus) which uses convenience libraries in subdirectories. This application also uses libltdl - in order to load modules. These modules needs to resolve symbols from the application, symbols that are in fact in the convenience libraries. The applic