Article View: gnu.gcc.help
Article #417892.7.2, ld 2.6, -shared, Solaris2.4, FOOBAR!
From: Bill England
Date: Mon, 19 Feb 1996 00:00
Date: Mon, 19 Feb 1996 00:00
31 lines
1538 bytes
1538 bytes
THE 2.7.2 gcc compiler insists on passing System V bogosities into the gnu-linker (v2.6) when building shared libraries. (Under Solaris 2.4) SPECIFICALLY (While building Perl 5) (first using the -G flag) 33$ gcc -o ../../lib/auto/Fcntl/Fcntl.so -G Fcntl.o /usr/local/sparc-sun-solaris2.4/bin/ld: invalid number `-Y' (next using -shared) 36$ gcc -o ../../lib/auto/Fcntl/Fcntl.so -shared Fcntl.o /usr/local/sparc-sun-solaris2.4/bin/ld: invalid number `-dy' The GNU linker, does not take parameters of the -Y type, nor does it take parameters of the -dy type. It does look of parameters such as -shared. I'm still working on getting a copy of the string that gcc is actually using to start ld. Maybe I can work around it by calling ld directly or using Suns' tools. -- +- Bill England, WebMaster@Data-IO.com --------------------------+ | * * H -> He +24MeV | | * * * ... Oooo, we're having so much fun making itty bitty suns * | |__ * * ______________________________________________________________|
Technical Details
Message-ID:
<Dn1BFr.36o@data-io.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e1a2f5183c14a221,start X-Google-Attributes: gid11318c,public From: wengland@data-io.com (Bill England) Subject: 2.7.2, ld 2.6, -shared, Solaris2.4, FOOBAR! Date: 1996/02/19 Message-ID: <Dn1BFr.36o@data-io.com> X-Deja-AN: 140118297 organization: Data I/O Corporation, Redmond/Seattle WA newsgroups: gnu.gcc.help