Subject: Re: invalid command option --whole-archive
To: Todd Whitesel <toddpw@best.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 09/01/1998 08:29:25
On Tue, 1 Sep 1998 02:09:10 -0700 (PDT)
Todd Whitesel <toddpw@best.com> wrote:
> Trying to build -current for i386, on an i386-1.3.2+ATAPI with freshly supped
> sources. It fails with:
>
> building shared object i386 library
> ranlib libi386_pic.a
> building shared i386 library (version 0.2)
> ld -x -shared -o libi386.so.0.2 --whole-archive libi386_pic.a --no-whole-archive
> ld: invalid command option `--whole-archive'
> ** Error code 1
>
> Stop.
> (etc)
>
>
> Am I doomed from the beginning trying to build -current with the last formal
> release?
No, but it can be tricky. Rebuild and install a new "ld" first, then try
again. you may find you have to do this with a few programs.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942