Re: Feature request: c++ name mangling

2000-11-22 Thread Alexandre Oliva
On Nov 22, 2000, "Wolfgang M|ller" <[EMAIL PROTECTED]> wrote: > Now it would be great, if libtool would automatically determine the > way symbols are mangled by $(CXX), and then configure some c source to > mangle mangle functionnames or another, more appropriate data > structure into function c

Feature request: c++ name mangling

2000-11-22 Thread Wolfgang Müller
Hi all, I am the maintainer of the GNU Image Finding Tool. I am currently moving the GIFT towards plugins which are loaded at during runtime. I am using libtool for this, and it's quite cool indeed. I've got a feature request, however, my knowledge about portability is low, so I would like to

Template instantiation and autotools

2000-11-22 Thread Marc van Woerkom
> > buildme.c: > > /* void do_really_nothing_useful() { } */ > > This is not a valid C program. A C program must contain at least one > valid declaration. Try something like `static int i;' Ok. What still bothers me are C++ templates. Before autoconfication, the project in foo.h slurped i

Re: rpath command?

2000-11-22 Thread Alexandre Oliva
On Nov 22, 2000, Marc van Woerkom <[EMAIL PROTECTED]> wrote: >> automake should define it to `$(LIBTOOL) $(CC/CXX)...'. Maybe it only >> does this when there is at least one source file to compile in the >> current directory? > Bingo! > Makefile.am: > libSciFacBase_la_SOURCES = \ >

Re: rpath command?

2000-11-22 Thread Marc van Woerkom
> automake should define it to `$(LIBTOOL) $(CC/CXX)...'. Maybe it only > does this when there is at least one source file to compile in the > current directory? Bingo! After introducing this additions Makefile.am: libSciFacBase_la_SOURCES = \ buildme.c buildme.c: /* vo

Re: rpath command?

2000-11-22 Thread Marc van Woerkom
> They look ok, which means you've probably found a bug in automake. > What does Makefile.in look like (grep rpath, please :-) [mvw@pcserver scifac]$ grep -r rpath * Base/src/Makefile.in: $(LINK) -rpath $(libdir) $(libSciFacBase_la_LDFLAGS) $(libSciFacBase_la_OBJECTS) $(libSciFacBa

Re: rpath command?

2000-11-22 Thread Alexandre Oliva
On Nov 22, 2000, Marc van Woerkom <[EMAIL PROTECTED]> wrote: > Do I have to use some macro in configure.in to fill $(LINK) with GNU ld? automake should define it to `$(LIBTOOL) $(CC/CXX)...'. Maybe it only does this when there is at least one source file to compile in the current directory? --

Re: rpath command?

2000-11-22 Thread Alexandre Oliva
On Nov 22, 2000, Marc van Woerkom <[EMAIL PROTECTED]> wrote: >> > Is my libtool faulty? >> >> Nope, it's your Makefile. Look for lines containing rpath and fix >> them (post'em here if you don't know how to fix them). There's no >> such thing as an `rpath' command. > Ok, here are the Makefile

Re: rpath command?

2000-11-22 Thread Marc van Woerkom
> Nope, it's your Makefile. Look for lines containing rpath and fix > them (post'em here if you don't know how to fix them). There's no > such thing as an `rpath' command. The line in the generated Makefile look like this: libSciFacBase.la: $(libSciFacBase_la_OBJECTS) $(libSciFacBase_la_DE

Re: rpath command?

2000-11-22 Thread Marc van Woerkom
> > Is my libtool faulty? > > Nope, it's your Makefile. Look for lines containing rpath and fix > them (post'em here if you don't know how to fix them). There's no > such thing as an `rpath' command. Ok, here are the Makefile.am files: -

Re: rpath command?

2000-11-22 Thread Alexandre Oliva
On Nov 22, 2000, Marc van Woerkom <[EMAIL PROTECTED]> wrote: > Is my libtool faulty? Nope, it's your Makefile. Look for lines containing rpath and fix them (post'em here if you don't know how to fix them). There's no such thing as an `rpath' command. -- Alexandre Oliva Enjoy Guarana', see

Re: AIX 4.3 and cvs libtool

2000-11-22 Thread Tim Mooney
In regard to: AIX 4.3 and cvs libtool, Kevin Ryde said (at 6:58am on Nov...: > gcc -shared -o .libs/libfoo.so.3.1.0 foo.o -Wl,-bexpall \ > -Wl,-bnoentry ${wl}-berok > >I think the literal ${wl} might be too much quoting or not enough >evaling of $allow_undefined_flag. (And glancing at libt

rpath command?

2000-11-22 Thread Marc van Woerkom
Hi! I am trying to build a single library from three convenience libraries. While compiling in the build tree, I get this error message: Making all in . make[3]: Entering directory `/home/mvw/work/scifac.build/Base/src' rpath /home/mvw/work/scifac.install/lib -no-undefined util/libB

[PATCH] dyld port

2000-11-22 Thread Wilfredo Sanchez
Below is an updated patch for Darwin (Mac OS X) and Rhapsody (Mac OS X Server). It is probably also correct or close to correct for OpenStep 4.2, which also uses dyld, but I don't run OpenStep and haven't tried it out there. I've tested this successfully with PHP4. -Fred Index: Ch

Re: [Patch] Use of expr subexpressions in ltmain.in

2000-11-22 Thread Gary V. Vaughan
On Thu, Nov 16, 2000 at 06:44:40AM -0500, Paul Berrevoets wrote: > In light of recent discussion on the autoconf mailing list about the use > of expr subexpressions and what is returned upon failure, I am > submitting the attached patch. See: > > http://mail.gnu.org/pipermail/autoconf/2000-N

AIX 4.3 and cvs libtool

2000-11-22 Thread Kevin Ryde
I'm using the current cvs libtool on aix 4.3 with gcc and I ran into a couple of problems. ./libtool --mode=link gcc -g -o libfoo.la \ -rpath /usr/local/lib -version-info 4:0:1 foo.lo ends up running gcc -shared -o .libs/libfoo.so.3.1.0 foo.o -Wl,-bexpall \ -Wl,-bnoentry ${wl}-

¾È³çÇϼ¼¿ä libtool@gnu.org´Ô

2000-11-22 Thread ÀÌ¿µ¼·.
Title: ¾È³çÇϼ¼¿ä Á¦°Ô ¸ÞÀÏÀ» º¸³»½Ç¶§´Â ²À [EMAIL PROTECTED]À¸·Î º¸³»ÁÖ¼¼¿ä ¾È³çÇϼ¼¿ä [EMAIL PROTECTED]´Ô... ¿ì¿¬È÷ http://freedom.sarang.net/prep¿¡ ¹æ¹®Çß´Ù°¡ Á¦ ³ª¸§´ë·Î ÀÌ Á¤º¸°¡ ¼­·Î¿¡°Ô µµ¿òÀÌ µÉ¼öÀÖ´Ù°í »ý°¢µÇ±â¿¡ ÀÌ·¸°Ô ¸ÞÀÏÀ» µå·Áº¾´Ï´Ù. ±âº