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.

-aaron

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to