From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23506 invoked by alias); 18 Feb 2011 02:03:38 -0000 Received: (qmail 23453 invoked by uid 22791); 18 Feb 2011 02:03:37 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 02:03:34 +0000 Received: by qwi2 with SMTP id 2so3030889qwi.20 for ; Thu, 17 Feb 2011 18:03:32 -0800 (PST) Received: by 10.224.61.18 with SMTP id r18mr118443qah.160.1297994612218; Thu, 17 Feb 2011 18:03:32 -0800 (PST) Received: from bda190.bisx.prod.on.blackberry (bda-67-223-78-68.bise.na.blackberry.com [67.223.78.68]) by mx.google.com with ESMTPS id h20sm1186303qck.12.2011.02.17.18.03.30 (version=SSLv3 cipher=OTHER); Thu, 17 Feb 2011 18:03:31 -0800 (PST) X-rim-org-msg-ref-id:1553042347 Message-ID:<1553042347-1297994605-cardhu_decombobulator_blackberry.rim.net-499915399-@bda198.bisx.prod.on.blackberry> Reply-To: percepticon@gmail.com Sensitivity: Normal Subject: Newbie new to the list To: gcc-help@gcc.gnu.org From: "[p e r c e p t i c o n]" Date: Fri, 18 Feb 2011 02:11:00 -0000 Content-Type: text/plain MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00269.txt.bz2 Hi all, About 20 years ago I knew how to use this compiler,but I became a mac programmer then windows then mobile and now find myself back to unix again... I have this error: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start And I've seen it all over the inet, but every case seems to be different. In my case I'm trying to build a 32bit shared object. I have -shared and -fPIC set even -m32 Can someone share with me how to tell gcc to use my lib32 directory instead of lib64 which it seems to default to? Thanks [-percy-]