[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4550: Build of "ae" fails since it's statically linked



On Sun, 22 Sep 1996, Dale Scheetz wrote:

> On Sat, 21 Sep 1996, llucius wrote:
> 
> > I'm sorry it was the "-N" link option that causes "ae" to be linked 
> > statically.  Is it really necessary to use the option?
> > 
> Well, my man page says:
> 
> 
>        -N     specifies  readable and writable text and data sec-
>               tions. If the output  format  supports  Unix  style
>               magic numbers, the output is marked as OMAGIC.
> 
>               When  you  use the `-N' option, the linker does not
>               page-align the data segment.
> 
> none of which seems to have anything to do with static vs shared
> libraries.

In order to achieve the above on an ELF system, ld has to link
statically.  -N should normally never be used on ELF binaries.

4.1 of the policy manual says not to do it also:

The -N flag should not be used. On a.out systems it may have been
useful for some very small binaries, but for ELF it has no good
effect.


Guy



Reply to: