From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14940 invoked by alias); 9 Sep 2004 18:58:04 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14927 invoked from network); 9 Sep 2004 18:58:04 -0000 Received: from unknown (HELO masquerade.micron.com) (137.201.242.130) by sourceware.org with SMTP; 9 Sep 2004 18:58:04 -0000 Received: from mail-srv1.micron.com (localhost [127.0.0.1]) by masquerade.micron.com (8.12.9/8.12.2) with ESMTP id i89Iw2oN023446 for ; Thu, 9 Sep 2004 12:58:03 -0600 (MDT) Received: from ntxboimbx07.micron.com (ntxboimbx07.micron.com [137.201.80.94]) by mail-srv1.micron.com (8.12.9/8.12.2) with ESMTP id i89Iw2uK023441; Thu, 9 Sep 2004 12:58:02 -0600 (MDT) From: lrtaylor@micron.com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: GNU g++ / AIX ld question Date: Thu, 09 Sep 2004 18:58:00 -0000 Message-ID: <363801FFD7B74240A329CEC3F7FE4CC4030961A5@ntxboimbx07.micron.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: To: , X-Scanned-By: MIMEDefang 2.37 X-SW-Source: 2004-09/txt/msg00074.txt.bz2 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 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=20 tccommon, it's claiming that the status class methods are undefined, even=20 though nothing the application is using from tccommon uses the status=20 class. =20