Borland and SDL /portability

So you don’t want to use borland’s c++ compiler, you just want to use
its editor? That seems like a senseless question, because then you’d
obviously not have any compatiblity problems. I’ll assume you want to
use Borland’s c++ compiler with sdl. There are instructions in
Borland.htm in the sdl distribution zip. The instructions even work
(almost)!

I Don?t want to use borland Compiler, I want to use another compiler with Borland?s IDE, (editor/debugger interface), is that possible?

If I use a borland compiller, Will my code still be portable? I was told borland C++ is a lot different than ANSI C++, If I actually use Borland compiler will my code run on Linux?

It depends on what you mean by “good”…

by good I mean, easy using, easy debugging, BugFree.

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

Romulo Gnomo wrote:

 >So you don't want to use borland's c++ compiler, you just want to use
 >its editor? That seems like a senseless question, because then you'd
 >obviously not have any compatiblity problems. I'll assume you want to
 >use Borland's c++ compiler with sdl. There are instructions in
 >Borland.htm in the sdl distribution zip. The instructions even work
 >(almost)!

I Don?t want to use borland Compiler, I want to use another compiler
with Borland?s IDE, (editor/debugger interface), is that possible?

Sorry, I don’t know the answer.

If I use a borland compiller, Will my code still be portable? I was
told borland C++ is a lot different than ANSI C++, If I actually use
Borland compiler will my code run on Linux?

Your code will run on linux easily if you test it on linux early and
often. Adhering to a standard which may or may not be fully supported
by one or more compilers is a poor substitute for a serious test suite. :slight_smile:

 >It depends on what you mean by "good"...

by good I mean, easy using, easy debugging, BugFree.

Again, I donno. I use emacs and fprintf (stderr,…) myself, as that
"IDE" seems totally portable. “easy using” it is not. :frowning:

Romulo Gnomo wrote:

I Don?t want to use borland Compiler, I want to use another compiler with Borland?s IDE, (editor/debugger interface), is that possible?

Editor: sure.
Debugger: probably not.

But don’t expect to just press Ctrl+F9 and your code gets compiled with
other compiler. AFAIK, that will not work.

Why don’t you just find some good text editor like SciTE, and forget
about Borland IDE? I used Borland’s IDE for 3 years, and after I used
good editors like SciTE or jEdit, I came to conclusion that Borland’s
text editor sux.

If I use a borland compiller, Will my code still be portable? I was told borland C++ is a lot different than ANSI C++, If I actually use Borland compiler will my code run on Linux?

It will if you write it in a portable way. I compile my games with
Borland on Windows and with gcc on Linux from the same sources. Only the
makefiles differ.–
Milan Babuskov
http://njam.sourceforge.net

I Don?t want to use borland Compiler, I want to use another compiler with Borland?s IDE, (editor/debugger interface), is that possible?
If I use a borland compiller, Will my code still be portable? I was told borland C++ is a lot different than ANSI C++, If I actually use Borland compiler will my code run on Linux?

I do the same thing.
I love the BCB6 IDE and don’t see any reason to stop using it.
BCB6 code is usually a lot more compatible with ANSI/ISO C++ then anything people with MSVC produce (Don’t get me started).
After making my code in the BCB6 IDE I compile with GCC compilers aswell and it works fine. The first time you might have to make
a few minor changes but usually nothing mayor and all you have to do is remember it for the future. You should not use the VCL ect. offcourse.

Dinand Vanvelzen.

----- Original Message -----
From: Romulo Gnomo