This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Option -static


FYI.  Since ld already supports -a for HP-UX compatibility:

 -akeyword
     This  option  is  supported  for  HP/UX compatibility.  The keyword
     argument must be one of the strings archive,  shared,  or  default.
     -aarchive is functionally equivalent to -Bstatic, and the other two
     keywords are functionally equivalent to -Bdynamic.  This option may
     be used any number of times.

You might want to consider enhancing -a as well since HP-UX already has
this functionality:

   -a search
      The Series 700/800 linker supports two additional
      values for the search flag. The value
      archive_shared indicates that within each
      directory searched to find the library specified
      with -l, the archive form is preferred, but the
      shared form is allowed. The value shared_archive
      states that the shared form is preferred but the
      archive form is allowed.

 Michael


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