Missing crt1

Kevan Hashemi hashemi at brandeis.edu
Wed Sep 14 23:34:59 CEST 2011


Hi,

I recently moved from MacOS 10.4 to 10.5 on my old PPC laptop. I 
re-installed GPC for MacOS 10.5 from the Microbizz site. When I try to 
compile a hello world program, I get the following error:

gpc p.pas
/Xcode2.5/usr/bin/ld: can't locate file for: -lcrt1.o
collect2: ld returned 1 exit status

The file crt1.o is sitting in

/Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib

When I add the above directory to my PATH, I still have problems. My 
path is now:

/usr/bin:/bin:/usr/sbin:/sbin:/Xcode2.5/usr/bin:/Xcode2.5/SDKs/MacOSX10.4u.sdk/usr/lib

Do I have my path set up wrong?

Yours, Kevan

-- 
Kevan Hashemi, Electrical Engineer
Physics Department, Brandeis University
http://alignment.hep.brandeis.edu/



More information about the Gpc mailing list