[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Objective-C with gcc 3.2 on RH 8.0
From: |
Björn Gohla |
Subject: |
Re: Using Objective-C with gcc 3.2 on RH 8.0 |
Date: |
Thu, 13 Feb 2003 01:26:44 +0100 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 13 February 2003 00:31, Alex Majora wrote:
> >Hmm ... I think everything refers you to the GNUstep-HOWTO, and the detail
> >is all in there.
>
> Okay, I've read the document, and installed gnustep-make, ffcal, libobjc,
> and gnustep-base.
>
> Some questions & observations:
>
> 1. It would be helpful to know what libraries, headers, etc. each step
> generates, and where they're placed.
>
> 2. Is gnustep-objc required or not? What is it for? The document states
> this must be installed after gnustep-make. How does this differ from
> gnustep-base? Do I need to link against both libobjc and libgnustep-base?
libobjc is the objective-c runtime lib, it provides the basic mechanisms for
handling objects, look up methods, dipatch messages, and the like. the c++
equivalent is libstdc++.
you only need gnustep-objc if you have a gcc older than version 3.0, so just
ignore it.
> 3. Is there a way to configure the build to generate static library files
> (.a, not .so)? I'm building on one machine, but deploying on another that
> doesn't have GNUstep. By just using Foundation objects, I should be okay as
> long as I link against a static libgnustep-base.a library, right?
you could try building stuff with 'make shared=no'.
> 4. A non-GUI example makefile & program would be useful! I don't know what
> libraries I need to link against, what headers & includes to use, and what
> options to use on gcc. I'll try to proceed nonetheless.
you might want to look at:
gnustep/core/base/Tools/
[...]
- --
The Internet was invented as a highly dependable,
high-speed, distributed, secure, and powerful network
so that in the event of a nuclear crisis, military
officials would always have access to pornography.
pub 1024D/834F4976 2001-01-07 Björn Gohla (Wissenschaftler, Weltbürger)
<b.gohla@gmx.de>
Key fingerprint = 9FF4 FEDA CCDF DA0E 14D5 8129 6C14 3C39 834F 4976
sub 1024g/29571FE2 2001-01-07
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+SuZIbBQ8OYNPSXYRAnzmAJ9Th2jwwERy/ZvuRomQgDKRoMbqBgCfRuMA
GHgazrZGYnRtxQmZtdVekm4=
=hWXu
-----END PGP SIGNATURE-----
- Re: Using Objective-C with gcc 3.2 on RH 8.0, (continued)