Date: Sun, 09 Mar 1997 02:38:50 -0800 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: hackers@freebsd.org Subject: gcc -shared as substitute for ld -Bshareable? Message-ID: <24425.857903930@time.cdrom.com>
next in thread | raw e-mail | index | archive | help
I've been working with some large software packages which seem to assume that ``gcc -shared ..objs.. -o outfile'' is equivalent to our more familiar ``ld -Bshareable ..objs.. -o outfile'', but the former doesn't work under FreeBSD - a full link is attempted. Examining these build files, it really does look like Linux and SunOS gcc supports -shared flag handling semantics rather different than ours. Any reason we should be gratuitously different? Shall I file a PR against this, or is it someone's idea of a feature? :-) Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24425.857903930>