On Fri, 4 Jul 2003 15:42:29 +0300 (IDT)
guy keren <[EMAIL PROTECTED]> wrote:
> regarding compiling it - it comes with configurations that work on various
> platforms (the last two we tried were redhat linux 7.3 and windows + vc++
> 6.0) - so it might be not that hard to compile, after all. it us
Quoth Oleg Goldshmidt on Sat, Jul 05, 2003:
> Vadim Vygonets <[EMAIL PROTECTED]> writes:
>
> > Quoth Oleg Goldshmidt on Fri, Jul 04, 2003:
> > [snip snip]
> > > So "portable" in the Java/Python/etc sense means *portable across a
> > > limited, albeit maybe wide enough, range of platforms*. This is
Quoth Shlomi Fish on Sat, Jul 05, 2003:
> The PalmOS SDK is based on gcc. I don't know if it supports all the ANSI C
> functions, but I think it does.
I don't think hello.c will work on PalmOS as is.
Vadik.
--
Of course [nobody reads the docs that come with the OS] -- that
would be too easy and
Vadim Vygonets <[EMAIL PROTECTED]> writes:
> Quoth Oleg Goldshmidt on Fri, Jul 04, 2003:
> [snip snip]
> > So "portable" in the Java/Python/etc sense means *portable across a
> > limited, albeit maybe wide enough, range of platforms*. This is a very
> > different notion of portability than that of
On Sat, 5 Jul 2003, Vadim Vygonets wrote:
> Quoth Oleg Goldshmidt on Fri, Jul 04, 2003:
> [snip snip]
> > So "portable" in the Java/Python/etc sense means *portable across a
> > limited, albeit maybe wide enough, range of platforms*. This is a very
> > different notion of portability than that of,
On Thu, 3 Jul 2003, Shachar Shemesh wrote:
> 1. If you are using C++, there is a library called ACE that provides a
> platform independant wrapper for TCP communications, as well as some
> shortcuts. You might want to check it out. I have never worked with it,
> but I heard it may be a bitch t
Oleg Goldshmidt wrote:
[1] One can say that the advantage of Java for the programmer lies in
the lack of a superset of the spec that includes implementation
dependent and other non-standard stuff, so the programmer does not
have to think, "is this statement portable?" all the time. This i
Eliran Gonen <[EMAIL PROTECTED]> writes:
> It was just an example. Generally, interpreted languages are doing quite
> a good job when it comes to portability.
This statement is made so often (also about Java, which is not
interpreted, but I'll take some artistic license here and lump it all
toget
Well actually, if I wanted to save myself the headache I would have
done it in Java :)
Extremely easy to develop, I just love that language. There is only one
major drawback which annoys me and that's speed. This application I'm
writing has to be able to handle many requests per second if need be.
Voguemaster <[EMAIL PROTECTED]>:
> Well actually, if I wanted to save myself the headache I would have
> done it in Java :)
Bytecode languages and other interpreted languages are usually *FASTER*
than Java.
> Extremely easy to develop, I just love that language. There is only one
> major drawbac
On Fri, 04 Jul 2003 12:03:26 +0300, Eliran Gonen <[EMAIL PROTECTED]> wrote:
Shlomi Fish <[EMAIL PROTECTED]>:
> Python is your friend. http://www.python.org
Or Perl - http://www.cpan.org/. Or Ruby...
There's no need to discriminate against languages.
It was just an example. Generally, interpreted
Shlomi Fish <[EMAIL PROTECTED]>:
> > Python is your friend. http://www.python.org
>
> Or Perl - http://www.cpan.org/. Or Ruby...
> There's no need to discriminate against languages.
It was just an example. Generally, interpreted languages are doing quite
a good job when it comes to portability.
On Thu, 3 Jul 2003, Eliran Gonen wrote:
> Voguemaster <[EMAIL PROTECTED]>:
> > For the life of me, I can't seem to find anything that will help me
> > write code that can compile under Linux AND Win32. Basically I want
> > to write a small network application (details later) that will be
> > cross
Gilboa Davara <[EMAIL PROTECTED]> writes:
> CPP/GCC/CC all define _WIN32 by default under all the environment I ever
> worked on. (which is pretty extensive.)
Really? Right now I am in an environment where several different
version of cpp and gcc don't define that. It seems to me that the
range o
Just two more inputs to the bunch of very good answers already provided.
1. If you are using C++, there is a library called ACE that provides a
platform independant wrapper for TCP communications, as well as some
shortcuts. You might want to check it out. I have never worked with it,
but I hear
I should add that you can always use your own macro (defined inside your
makes files) in-case you don't want to count on the "compiler" doing the
work for you.
E.g.
ifdef _WINNT_
#include
#endif
#ifdef _LINUX_
#include
#include
#include
#include
#endif
#ifdef _FREEBSD_
// Same as Linux
CPP/GCC/CC all define _WIN32 by default under all the environment I ever
worked on. (which is pretty extensive.)
By design, compilers running under Windows (be that Watcom, Borland or
MCVC) must define _WINTVER, _WIN32 and M_IX86/M_ALPA/etc in-order to
include the Winxxx.h files. (which are requir
Gilboa Davara <[EMAIL PROTECTED]> writes:
> Better yet:
>
> #ifdef unix
>
> // UNIX/Linux/*BSD.
>
> #endif
>
> #ifdef _WIN32
>
> // Window stuff
>
> #endif
>
> Both symbols are auto defined by the compiler.
What is "the compiler"? How can you be sure that 6 months from now
someone in New Z
Quoting Omer Zak <[EMAIL PROTECTED]>:
>
> On Thu, 3 Jul 2003, Voguemaster wrote:
>
> > The problem is very basic: Linux and Win32 have different include files
> > for some things and placing #include directives inside #ifdef doesn't
> > do the trick (it nullifies the #ifdef possibly ?).
>
y Win32 and EVERYTHING else. I'd like to somehow
detect Linux and glibc (yes i know about __GLIBC__).
Well, thanks for the help
On Thu, Jul 03, 2003, Voguemaster wrote about "Cross platform code":
The problem is very basic: Linux and Win32 have different include files
for some t
Better yet:
#ifdef unix
// UNIX/Linux/*BSD.
#endif
#ifdef _WIN32
// Window stuff
#endif
Both symbols are auto defined by the compiler.
Gilboa
On Thu, 2003-07-03 at 18:48, Nadav Har'El wrote:
> On Thu, Jul 03, 2003, Voguemaster wrote about "Cross platform code":
>
On 2003-07-03 Voguemaster wrote:
> The problem is very basic: Linux and Win32 have different include files
> for some things and placing #include directives inside #ifdef doesn't
> do the trick (it nullifies the #ifdef possibly ?).
What exactly is not working?
For me it always worked just fi
On Thu, Jul 03, 2003, Voguemaster wrote about "Cross platform code":
> The problem is very basic: Linux and Win32 have different include files
> for some things and placing #include directives inside #ifdef doesn't
> do the trick (it nullifies the #ifdef possibly ?).
Voguemaster <[EMAIL PROTECTED]>:
> For the life of me, I can't seem to find anything that will help me
> write code that can compile under Linux AND Win32. Basically I want
> to write a small network application (details later) that will be
> cross platform.
Python is your friend. http://www.pyth
On Thu, 3 Jul 2003, Voguemaster wrote:
> The problem is very basic: Linux and Win32 have different include files
> for some things and placing #include directives inside #ifdef doesn't
> do the trick (it nullifies the #ifdef possibly ?).
Very strange.
> I'm not sure how to go about this and
Voguemaster wrote on 2003-07-03:
> Hi all,
>
> For the life of me, I can't seem to find anything that will help me
> write code that can compile under Linux AND Win32. Basically I want
> to write a small network application (details later) that will be
> cross platform.
> The problem is very basic
Hi all,
For the life of me, I can't seem to find anything that will help me
write code that can compile under Linux AND Win32. Basically I want
to write a small network application (details later) that will be
cross platform.
The problem is very basic: Linux and Win32 have different include files
27 matches
Mail list logo