This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcc_s.so.1 yet again


> > But now, I have to change my LD_LIBRARY_PATH
> > every time I execute a program compiled with a different gcc-3.1 (64-bit or
> > 32-bit).
> 
> So instead of using the biarch feature (which takes care of the libgcc
> naming) you are building and installing gcc into a separate ${prefix} for
> each of 32 and 64-bit compilation?

I'm building and testing both 64-bit and 32-bit builds of the compiler,
each of which can generate 64-bit or 32-bit code.

> > So is there any way to build libgcc so that it is usable with either
> > 64-bit or 32-bit applications on sparc?
> 
> I'd guess you could set LD_LIBRARY_PATH_64, which will be ignored by the
> 32-bit loader.

Thanks, this looks like what I need.

Brad


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]