delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/28/17:52:20

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: RE: Objective-C
28 Apr 1997 17:52:20 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <009B37B6.50185860.14507.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: gutier AT unixg DOT ubc DOT ca
Original-CC: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019