From: dahms@ifk20.mach.uni-karlsruhe.de
Subject: RE: Objective-C
28 Apr 1997 17:52:20 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <009B37B6.50185860.14507.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: gutier@unixg.ubc.ca
Original-CC: gnu-win32@cygnus.com, dahms@ifk20.mach.uni-karlsruhe.de
Original-Sender: owner-gnu-win32@cygnus.com

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".
