GNU g++ / AIX ld question

lrtaylor@micron.com lrtaylor@micron.com
Thu Sep 9 18:58:00 GMT 2004


Just a thought on this - there probably is a linker option (that is, for
ld) for this.  I would recommend taking a look at ld's command line
options and pass the appropriate option to it though g++ using the -Wl
option.

Thanks,
Lyle


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of David Kramer
Sent: Thursday, September 09, 2004 12:52 PM
To: gcc-help@gcc.gnu.org
Subject: GNU g++ / AIX ld question

<SNIP>
I can't seem to find a comparable g++ option to not link in objects that

are not referenced, and that means when I link my application against 
tccommon, it's claiming that the status class methods are undefined,
even 
though nothing the application is using from tccommon uses the status 
class.
 



More information about the Gcc-help mailing list