Re: 2.5.0 problems on Solaris 8
2006-04-21 16:12:54
On Fri, Apr 21, 2006 at 03:47:29PM -0400, stan wrote:
> On Fri, Apr 21, 2006 at 11:25:02AM -0700, Mike Delaney wrote:
> >
> > Yes, pass the -R/path/to/library flag to the linker at build time. For
> > Solaris systems, every -L given to the linker should have a corresponding
> > -R. libgcc_s.so.1 is a bit of a special case, since gcc is implicitly
> > linking that one in when needed. Figure out where it lives and pass
> > the appropriate -R option via LDFLAGS when building.
> >
> OK, should I manual add this to te Makefiles? Or is there a way to tell
> configure this? Perhaps an environment variable?
LDFLAGS is an environment variable:
$ export LDFLAGS="-R/path/to/gcc/libraries"
$ ./configure ....
$ make
|
|
|