problem with "libobjects" and gcc-4.0.0

Andrew Pinski pinskia@physics.uc.edu
Thu Jul 7 04:58:00 GMT 2005


On Jul 7, 2005, at 12:57 AM, apaz@purdue.edu wrote:

>
> No really, I'm just trying to compile Objective C code. But when I use 
> -libobjc,
> I get:
>
> /usr/bin/ld: cannot find -libobjc
> collect2: ld returned 1 exit status
>
> I thought that "libobjc" was included in gcc. So, I found the 
> following link
> that says that -libobjc is the Objective C class library . . .
>
> http://www.cs.rochester.edu/u/mccallum/libobjects/
>
> SO, what should I do to compile Objective C code? I have being trying 
> to use
> "-lm" and "-libobjc" or "-libobjects".

-lobjc


-- Pinski



More information about the Gcc-bugs mailing list