[Pythonmac-SIG] Totally O.T. OS-X question

Ronald Oussoren ronaldoussoren at mac.com
Fri Jul 16 09:24:23 CEST 2004


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



More information about the Pythonmac-SIG mailing list