realbasic-nug
[Top] [All Lists]

Re: A bit OT - C++ Compilers

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: A bit OT - C++ Compilers
From: dda <headspin at gmail dot com>
Date: Mon, 1 Aug 2005 02:07:10 +0200
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:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CwZlGCD3mQ4ITufEV8ydSpcCBa/ImpxpM3ACwYhA3NEMXJ7KY8Iga7dJNxp20AhWYzQ8iigujHcOS6Bk0cn/XvDiR9NzL4C9Lwwr9JXDHKoyFdIDYVHc5Z0qUUHrYX/mKqQqa+oLr88y0RyHIVXSEodFcOGKmftwpxbmMwKEGpQ=
References: <20050731170025 dot AE88FBFC803 at lists dot realsoftware dot com> <000301c59628$5851a0d0$0600a8c0 at TDPC1>
XCode is the way to go for shared libs in Mac OS X. I never took the
time to learn how to write RB plugins, but there is a template for
XCode.

For Linux, I have monkeyed so far with vi and gcc... :-( Not as
comfortable as XCode, but it's basically the same technology
underneath. The flag to produce shared libraries on Mac OS X is not
the same as on Linux, but beside that it was OK. Of course they were
small projects, so I didn't have to go through the process of setting
up a complex makefile... For larger projects, it could be a bother.

HTH

-- 
dda 
http://sungnyemun.org/
RBDeveloper Columnist, "Beyond the Limits"
http://rbdeveloper.com

Liste Française Solutions RB
http://www.solutionsrb.com/



On 31 Jul 2005 16:34:48 -0700, Daniel L. Taylor
<dtaylor at taylor-design dot com> wrote:
> Several of my REALbasic projects make use of shared libraries I've created
> using C++ (for speed and efficiency reasons). I've been using an older
> version of CodeWarrior to compile both PPC and x86 libraries. Since its been
> working fine, I haven't bothered upgrading or changing.
> 
> But I want to investigate options before CW breaks on me. And I would like
> to convert some of the libraries to actual RB plugins.
> 
> I know on the Mac the choice is Xcode. What are RB developers using to
> produce Windows and Linux plugins and shared libraries?
> 
> As a side note...I started thinking about this today when testing some C++
> code that executes 10x faster on my Mac (1.8 GHz G5, 3-4 secs) than on my PC
> (1.8 GHz P4, 35-40 secs). The code is essentially identical cross platform
> and I'm not using vector units. I started wondering if CW was just less
> adept at producing optimized x86 code and it really showed in this case, but
> then found myself wondering what compiler I could try. I'm not that familiar
> with the other C++ offerings on Windows.
> 
> Daniel L. Taylor
_______________________________________________
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>