From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23768 invoked by alias); 9 Jul 2006 19:59:01 -0000 Received: (qmail 23755 invoked by uid 22791); 9 Jul 2006 19:59:01 -0000 X-Spam-Check-By: sourceware.org Received: from smtp104.sbc.mail.mud.yahoo.com (HELO smtp104.sbc.mail.mud.yahoo.com) (68.142.198.203) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 09 Jul 2006 19:59:00 +0000 Received: (qmail 91705 invoked from network); 9 Jul 2006 19:58:57 -0000 Received: from unknown (HELO ?68.125.129.157?) (timothyprince@sbcglobal.net@68.125.129.157 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 9 Jul 2006 19:58:57 -0000 Message-ID: <44B16000.5060703@sbcglobal.net> Date: Sun, 09 Jul 2006 19:59:00 -0000 From: Tim Prince Reply-To: tprince@myrealbox.com User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Ben Dean CC: gcc-help@gcc.gnu.org Subject: Re: gcc compiler help References: <20060709151909.hb49fdnhssgo0ooc@www.mail.yale.edu> In-Reply-To: <20060709151909.hb49fdnhssgo0ooc@www.mail.yale.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2006-07/txt/msg00097.txt.bz2 Ben Dean wrote: > I am trying to run GCC on mac OSX 10.3.9 and keep encountering the same error. > to the command "gcc (or gcc2, gcc3, g++, etc) code.c" I get the message > "ld: can't locate the file for: -lcrt1.o" > does this just mean I am missing part of the program, and if so, what is the > easiest way to get and reinstall it? libcrt1.o does not come with gcc; typically it is part of glibc. You should find more specific advice about your installation with Google etc. If you installed a full gcc development package, e.g. with linux, that file, and the path required for linking, should be set up automatically. Paths used by gcc are shown by gcc -print-search-dirs