[Pythonmac-SIG] Totally O.T. OS-X question
Brad Howes
howes at ll.mit.edu
Fri Jul 16 15:40:23 CEST 2004
I had the same problem when I upgraded to Panther, but only on one of
my machines. For some reason, I was missing a few libraries in /us/lib,
including /usr/lib/crt1.o. You can find a copy of this file in
/Developer/SDKs/MacOSX10.3.0.sdk/usr/lib
I can't remember what the other missing file was.
Brad
On Jul 16, 2004, at 3:24 AM, Ronald Oussoren wrote:
> It works for me (TM) :-)
>
> Did you install a different gcc? If not, did you install the platform
> SDK's?
>
> Ronald
>
> On Jul 16, 2004, at 2:15 AM, Chris Barker wrote:
>
>> Hi all,
>>
>> This has nothing to do with Python, but you're a helpful group of
>> knowledgeable folks, so I thought I try.
>>
>> I'm trying to do some simple compilation with the command line gcc.
>> Here is the code:
>>
>> #include "stdio.h"
>>
>> int main(){
>> printf("hello world\n");
>> return 0;
>> }
>>
>> It couldn't be any simpler. However, when I try to compile it:
>>
>> gcc -o junk junk.c
>>
>> I get:
>>
>> ld: can't locate file for: -lcrt1.o
>>
>> Anyone have an idea? Shouldn't I be able to compile this very
>> simplest of programs without providing library paths, etc. Besides
>> that, I can't find a file with "crt1" in it on the system.
>>
>> -thanks, Chris
>>
>>
>> --
>> Christopher Barker, Ph.D.
>> Oceanographer
>>
>> NOAA/OR&R/HAZMAT (206) 526-6959 voice
>> 7600 Sand Point Way NE (206) 526-6329 fax
>> Seattle, WA 98115 (206) 526-6317 main reception
>>
>> Chris.Barker at noaa.gov
>> _______________________________________________
>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
>>
> --
> X|support bv http://www.xsupport.nl/
> T: +31 610271479 F: +31 204416173
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
Brad
--
Brad Howes
Desk: 781.981.5292 • Fax: 781.981.3495 • Secretary: 781.981.7420
MIT Lincoln Laboratory • 244 Wood St. • Lexington, MA 02173
More information about the Pythonmac-SIG
mailing list