This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Objective-C


Hi Gerald, you wrote:

: gcc -o myexe myexe.m -lobjc
: 
: Is there a reason why there is no objc library ?

Obviously there is an objc library if above links successfully.
man gcc says (v2.7):

> -lobjc
>      You need this special case of the -l option in order to link an Objec-
>      tive C program.

Thus gcc is not configured to link it in by default.
Note I've never used objc, and a lot more people could complain about -lm.


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]