--enable-shared doesn't work on Sun-3
Toon Moene
toon@moene.indiv.nluug.nl
Sun Aug 9 05:30:00 GMT 1998
Hi Kate !
skink% more config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
configure
--with-gcc-version-trigger=/usr/export/home/kate/egcs-19980803/gcc/version.c
--host=m68k-sun-sunos4.1.1 --enable-shared --with-gnu-as
^^^^
--with-gnu-ld --norecursion
# using "mh-frag" and "mt-frag"
> I am using binutils 2.9.1. I have been having no trouble
> with egcs with static libraries. However, a build of
> perl with egcs died in about the same way when it builds
> its dynamically loadable pieces.
> Here is how egcs fails:
> /usr/tmp/cc6ECDC7.s:2388: Error: operands mismatch --
> statement `jbsr _demangle_template_template_parm,a1'
> ignored
Yep, this is basically the same problem I ran into back in May,
when egcs erroneously assumed I wanted to build it --enable-shared.
Apparently compiling with -fpic doesn't work on m68k's ...
Hope this helps,
Toon.
More information about the Gcc-bugs
mailing list