This is the mail archive of the gcc-bugs@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]

[Bug target/26472] Default path for libgcc_s.sl is build directory



------- Comment #14 from dave at hiauly1 dot hia dot nrc dot ca  2006-03-01 16:06 -------
Subject: Re:  Default path for libgcc_s.sl is build directory

> The situations is different in the 64-bit runtime:
> 
> -bash-2.05b$ chatr main
> main:
>          64-bit ELF executable
> 	 shared library dynamic path search:
> 	     LD_LIBRARY_PATH    enabled  first
> 	     SHLIB_PATH         enabled  second
> 	     embedded path      enabled  third  Not Defined
> 	 shared library list:
> 	     libc.2

The effect of the option in the 64-bit runtime is to not enter the -L
directories specified in the ld command in the embedded path.  Without
the option, the embedded path using gcc looks something like:

             embedded path      enabled  third 
/home/gnu64/gcc/gcc-3.4.5/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.5:/home/gnu64/gcc/gcc-3.4.5/bin/../lib/gcc:/opt/gnu64/gcc/gcc-3.4.5/lib/gcc/hppa64-hp-hpux11.11/3.4.5:/usr/ccs/bin:/usr/ccs/lib/pa20_64:/opt/langtools/lib/pa20_64:/home/gnu64/gcc/gcc-3.4.5/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.5/../../..:/opt/gnu64/gcc/gcc-3.4.5/lib/gcc/hppa64-hp-hpux11.11/3.4.5/../../..

With the option, +b can be used to set the embedded path to whatever.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26472


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