1 msggcc 4.2.3 : make: *** [bootstrap] Error 2
2 msgminor mistake in http://gcc.gnu.org/gcc-4.3/cha...

libtool for shared objects?
\ Basile STARYNKEVITCH (11 Mar 2008)
. \ Basile STARYNKEVITCH (11 Mar 2008)
. . \ Roberto Bagnara (12 Mar 2008)
. . . \ Basile STARYNKEVITCH (12 Mar 2008)
. . . . \ Ralf Wildenhues (16 Mar 2008)
. \ Ralf Wildenhues (11 Mar 2008)
. . \ Basile STARYNKEVITCH (11 Mar 2008)
. . . \ Andreas Schwab (11 Mar 2008)
. . . . \ Basile STARYNKEVITCH (11 Mar 2008)
. . . \ Alexandre Oliva (12 Mar 2008)
. . . . \ Basile STARYNKEVITCH (12 Mar 2008)
. . . . . \ Andreas Schwab (12 Mar 2008)
. . . . . . \ Basile STARYNKEVITCH (12 Mar 2008)
. . . . . . . \ Andreas Schwab (12 Mar 2008)
. . . . . \ Alexandre Oliva (12 Mar 2008)

1 msganeurin chandras hammond griswold
1 msgAdding new section attribute
3 msgThe effects of closed loop SSA and Scalar Evolu...
2 msghowto run cross testings with help of translators
1 msggcc-4.1-20080310 is now available
6 msgGNAT on SVN Trunk
2 msgCRX and CR16 port maintainer
2 msgNew picoChip port and maintainers
11 msgvectorizer default in 4.3.0 changes document mi...
2 msgGCC 4.3.0-20080228 (powerpc-linux-gnuspe) ICE o...
10 msgRTL definition
7 msgPossible gcc-4.3 regression wrt bootstrapping t...
19 msg[tuples] gimple_assign_subcode for GIMPLE_SINGL...
3 msgCombine repeats matching on insn pairs and will...
1 msggcc-4.4-20080307 is now available
1 msgNeed link ln -s ../lib64/libgomp.spec libgomp.s...
15 msgRFC: Idea for code size reduction
Subject:libtool for shared objects?
Group:Gcc
From:Basile STARYNKEVITCH
Date:11 Mar 2008


Hello All,

in my MELT branch http://gcc.gnu.org/wiki/MiddleEndLispTranslator I need
to compile a C file into a shared object library which can be loaded by
lt_dlopenext

First, I have the impression that the libtool in e.g.
libjava/Makefile.in or libgomp/Makefile.in or libmudflap/Makefile.in is
not the usual one (I mean the Debian/Sid libtool package version
1.5.26-1 for example). I would like to use this tool to compile some
(generated) warm(basilys.c file into a warm-basilys.la in the most
portable way (on Linux/ELF systems I would just use gcc -fPIC -shared
warm-basilys.c -o warm-basilys.so and use the warm-basilys.so shared
library to dlopen).

What is exactly the $(LIBTOOL) in Makefile.in-s (i.e; the @LIBTOOL@ from
some autoconf stuff)?

What is the right way to produce a dynamically loadable "library" which
would be the most portable?

Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


© 2004-2008 readlist.com