Xojo Conferences

Re: A bit OT - C++ Compilers (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Making static text blink
Next thread: DirList ActiveX and its root directory

Re: A bit OT - C++ Compilers   -   dda
  A bit OT - C++ Compilers   -   Daniel L. Taylor

Re: A bit OT - C++ Compilers
Date: 01.08.05 01:07 (Mon, 1 Aug 2005 02:07:10 +0200)
From: dda
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

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.


A bit OT - C++ Compilers
Date: 01.08.05 00:34 (Sun, 31 Jul 2005 16:34:06 -0700)
From: Daniel L. Taylor
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
Owner, Taylor Design
Computer Consulting & Software Development
<email address removed>

Unsubscribe or switch delivery mode:

Search the archives of this list here: