This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: zlib/libzgcj being built all the time?
On Wed, Oct 04, 2000 at 05:55:25PM -0200, Alexandre Oliva wrote:
> On Oct 4, 2000, Phil Edwards <pedwards@disaster.jaj.com> wrote:
>
> > should zlib and libzgcj be built?
>
> zlib should, libzgcj doesn't have to. Someone has to add the magic to
> skip it for the target when the Java language is not selected.
I might look into that.
> > /tec/build/2test/gcc/xgcc [...] -Wl,-soname -Wl,libzgcj.so.0 -o .libs/libzgcj.so.0.0.0
> > ld: warning: option -o appears more than once, first setting taken
>
> This often means libtool was configured to use GNU ld but GCC is
> picking a non-GNU ld, that reads `-soname' as `-s -o name'.
>
> Did you configure --with-gnu-ld? Did you follow the procedures in the
> FAQ to ensure that the built GCC finds GNU ld?
The configure line I wrote in my mail was the one I used; only the
languages=c++ option was given.
For major builds (like working with libstdc++-v3), I use Binutils&Co.,
but not this time. Clean configure in an empty directory.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.