This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Building libstdc++.so on FreeBSD 2.2.6 with 1.0.2 release
- To: law at cygnus dot com, rotel at indigo dot ie
- Subject: Re: Building libstdc++.so on FreeBSD 2.2.6 with 1.0.2 release
- From: Niall Smart <rotel at indigo dot ie>
- Date: Mon, 20 Apr 1998 23:03:42 +0000
- Cc: egcs-bugs at cygnus dot com
- Reply-To: rotel at indigo dot ie
On Apr 19, 10:37pm, Jeffrey A Law wrote:
} Subject: Re: Building libstdc++.so on FreeBSD 2.2.6 with 1.0.2 release
>
> In message <199804190006.BAA07459@indigo.ie>you write:
> > Hi,
> >
> > Using --enable-shared during configure of 1.0.2 release on FreeBSD
> > 2.2.6 builds a static library instead of a shared, does anyone know
> > why?
> Probably nobody's added support for shared libraries for FreeBSD.
>
> Most systems need minor tweaks in the toplevel configure scripts
> as well as in the config/ directory to make --enable-shared work.
I'll poke around and see what I can do.
As an aside, having compiled some shared object files with "gcc
-fpic -c fileX.c -o fileX.so" is "gcc -shared filea.so fileb.so -o
libfoo.so.x.y" supposed to build a shared library? This doesn't
work on FreeBSD, but perhaps this is another example of the compiler
not having the information it needs?
Niall
--
Niall Smart. PGP: finger njs3@motmot.doc.ic.ac.uk
FreeBSD: Turning PC's into Workstations: www.freebsd.org
Annoy your enemies and astonish your friends:
echo "#define if(x) if (!(x))" >> /usr/include/stdio.h