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