[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Detect the default libpath on aix (to fix MPI support!)
From: |
mcnichol |
Subject: |
Re: [PATCH] Detect the default libpath on aix (to fix MPI support!) |
Date: |
Mon, 23 Jul 2001 15:51:31 -0500 |
Yes I know this is normal when using gcc.
But it is rather ugly, and might be a small performance hit,
as you have to search a number of directories that will never
contain any useful shared libraries.
I wonder if this was the reason the -blibpath was introduced in
the first place?
Dan
> From address@hidden Mon Jul 23 15:33:11 2001
>
> Dan:
>
> That is a bit goofy, but perfectly normal from my experience.
> The path will be different when using gcc configured different
> ways. Unless there is some sort of limit to how long this list
> of directories can be, the patch is OK with me.
>
> Robert
>
> address@hidden wrote:
> >
> > Ok, that's much easier to read.
> > Thanks.
> >
> > I don't know if it is a problem or not (probably not), but this patch
> > will make things sensitive to the LIBPATH environment variable.
> >
> > It may also include the whacko path the gcc seems to like to insert.
> > For example, here is the dump output I get when compiling a simple
> > program with gcc.
> >
> > testpb:
> >
> > ***Loader Section***
> > Loader Header Information
> > VERSION# #SYMtableENT #RELOCent LENidSTR
> > 0x00000001 0x0000001f 0x0000029b 0x00000253
> >
> > #IMPfilID OFFidSTR LENstrTBL OFFstrTBL
> > 0x00000004 0x0000224c 0x00000191 0x0000249f
> >
> > ***Import File Strings***
> > INDEX PATH BASE MEMBER
> > 0
> > /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414:/usr/bin/../lib/gcc-lib:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414/../../../../powerpc-ibm-aix4.3.3.0/lib:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414/../../../../powerpc-ibm-aix4.3.3.0/lib:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414/../../..:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414/../../..:/usr/lib:/lib
> > 1 libc.a shr.o
> > 2 libXt.a shr4.o
> > 3 libXm.a shr_32.o
> >
> > Dan
> >
> > > From address@hidden Mon Jul 23 12:03:56 2001
> > > To: address@hidden, address@hidden
> > > Subject: Re: [PATCH] Detect the default libpath on aix (to fix MPI
> > > support!)
> > >
> > > Hi again,
> > >
> > > I've had to live without my normal mail connection for a couple of days,
> > > but submitting the patch
> > > through pine was apparently a bad idea with those long lines...
> > >
> > > Sorry about that - here's (hopefully) a MIME-attached version without
> > > the line breaks!
> > >
> > > Cheers,
> > >
> > > Erik
> >