Re: Bug#4550: Build of "ae" fails since it's statically linked
'Dale Scheetz wrote:'
>On Sun, 22 Sep 1996, Christoph Lameter wrote:
>> The N option is used to statically link a program. What manpage were you
>> looking at?
>The man page is for ld. The gcc man page says ld is used to link.
>The gcc man page also says that -static is the proper option for creating
>static linked executables.
>BTW, what architecture are we talking about?
It isn't relevant. I strongly remember that -N is for static linking
of a.out binaries. The old policy manual said you should only use -N
on binaries that stay in core for /very/ small lengths of time as they
use memory poorly. It shouldn't be used (certainly NOT for an
editor). It probably should never have been used. It probably works
under ELF because under ELF -N should be ignored. There may be a
bug in m68k libc or ld that doesn't ignore it, but that doesn't lessen
the bug of using -N in the first place. Unless you can document some
strong reason why you /need/ -N, remove the flag.
Christopher J. Fearnley | Linux/Internet Consulting
email@example.com, firstname.lastname@example.org | UNIX SIG Leader at PACS
http://www.netaxs.com/~cjf | (Philadelphia Area Computer Society)
ftp://ftp.netaxs.com/people/cjf | Design Science Revolutionary
"Dare to be Naive" -- Bucky Fuller | Explorer in Universe