tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: Mod_webapp & Solaris 8
Date Wed, 28 Nov 2001 18:56:21 GMT
On Wed, Nov 28, 2001 at 10:08:28AM -0800, Justin Erenkrantz wrote:
> On Wed, Nov 28, 2001 at 12:31:13PM -0500, mgoyer wrote:
> > Httpd was built with gcc-3.0.1 the same version that I'm using for
> > mod_webapp.
> Then, just add -R/path/to/gcc-3.0.1/lib to your LDFLAGS for
> httpd.

There's a trick for getting the path, try `gcc -print-libgcc-file-name`.
Barring syntax errors, you could probably do something like
LIBS="`gcc -print-libgcc-file-name`". I don't suggest dynamically
linking against libgcc.

Another solution is to use the GNU linker (gld from binutils). gld knows
about libgcc and implicitly pulls symbols from it when needed.

BTW, if you upgrade to libtool-1.4.2 you'll get a nice little warning
about using the solaris linker with gcc.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message