realbasic-nug
[Top] [All Lists]

Re: External libraries and Mach-O RB apps

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: External libraries and Mach-O RB apps
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Wed, 31 Aug 2005 16:28:34 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R833xKhEZbJALqc8oRqg5YV1poC/wC4NAuyKG8gQ3hSDJFQzcp2lX0JqPdAKlMOVarBa+SyMihy/COQ6AVUeLI/pxTExZG4SS/IGc749WgsfOTTpowQcmlis4OHj9NSCGogMyK6MtHAbB9Ef0MH82bcUqnWuQKenzJyRX/uTBY4=
References: <20050809212137 dot 8DE67C68919 at lists dot realsoftware dot com> <p06002021bf3bcb535074 at 137 dot 187 dot 210 dot 206>
On 8/31/05, jda <jda at his dot com> wrote:
> 
> I'm going to be porting a CodeWarrior shared library, which I use
> with RB apps (PEF), to XCode. This will allow me to use the shared
> library with RB Mach-O apps, and hopefully make the transition to
> MacTel possible.
> 
> It seems, though, that there are a variety of Mach-O library types.
> My question is, which of these can RB link to (and which would be
> better for creating a library for RB)?
> 
> * dynamic libraries
> * frameworks

Which is just a specific style of bundle, which wraps a Dylib and
possibly other resources

> * bundle files

These don't necessarily have executable portions inside of them.
However, if they do, they're most likely just dylibs.

> * loadable bundle packages

This again, is the same thing.

> * relocatable object files

If by this, you mean the .o files that GCC outputs, then you can't use
these directly. They're compiler-version specific, and are meant to be
linked into something else.

> * static archive libraries

Static libraries can't be declared against, and again are compiler specific. 

Basically, you can declare against anything that is a dylib, or wraps
a dylib. Frameworks are an example of something that wraps a dylib.

HTH,
Jon


-- 
Jonathan Johnson
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>