From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: jbuck@Synopsys.COM (Joe Buck) Cc: hjl@lucon.org, slouken@devolution.com, egcs@egcs.cygnus.com, mindbender@lokigames.com Subject: Re: Large code size? Date: Thu, 25 Mar 1999 01:08:00 -0000 Message-id: In-reply-to: jbuck@Synopsys.COM's message of "24 Mar 1999 15:55:30 -0800" References: <199903242353.PAA02719.cygnus.egcs@atrus.synopsys.com> X-SW-Source: 1999-03/msg00806.html >>>>> Joe Buck writes: >> We built robotcom.so with the compiler flags: >> g++ -O2 -funroll-loops -fno-exceptions -DLINUX_BETA -D_REENTRANT >> and the linker flags: >> cc -shared -nostartfiles -s -o robotcom.so ... > Hmm. Does the gnu.linkonce trick work for shared libraries? I would think so, but it certainly doesn't work if you don't use the GNU linker, and 'cc' isn't likely to. Jason From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: jbuck@Synopsys.COM (Joe Buck) Cc: hjl@lucon.org, slouken@devolution.com, egcs@egcs.cygnus.com, mindbender@lokigames.com Subject: Re: Large code size? Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: References: <199903242353.PAA02719.cygnus.egcs@atrus.synopsys.com> X-SW-Source: 1999-03n/msg00811.html Message-ID: <19990331234600.HxASJMqozLpLsAb-ZkpFahkZSnhC2_hI5KWWEarE3ZA@z> >>>>> Joe Buck writes: >> We built robotcom.so with the compiler flags: >> g++ -O2 -funroll-loops -fno-exceptions -DLINUX_BETA -D_REENTRANT >> and the linker flags: >> cc -shared -nostartfiles -s -o robotcom.so ... > Hmm. Does the gnu.linkonce trick work for shared libraries? I would think so, but it certainly doesn't work if you don't use the GNU linker, and 'cc' isn't likely to. Jason