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]

Re: egcs 1.1b successfully built on HPPA1.1/hpux10.20



  In message <xfgn27ya9lf.fsf@omsi14.omsi.com>you write:
  > 
  > ./config.guess: hppa1.1-hp-hpux10.20
  > 
  > Configured as:
  > 
  > ../egcs-1.1b/configure --prefix=/htools/gnu --with-gnu-as --enable-shared
  > make bootstrap
  > make install
  > 
  > The default linking of a c++ program is static, how do I change it to
  > use shared libraries?  The shared libraries are in /htools/gnu/lib.
Huh?  GCC does not try to statically link code on HP's by default.

The HP linker first looks for dynamic libraries.  If none are found,
then it will look at static libraries.  The search priorities can
be modified by using the -a argument to the HP linker.

GCC by default does not change the HP linker's search priorities.

jeff


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