November 02, 2002
Hi all,

Im a developer of an operating system. We are using gcc at this moment. But
gcc is very buggy and
we are looking for a new compiler now. So I decided looking back to
digitalmars. Some years ago
I found this site. Is it possible digitalmars d/c/c++ compiler to generate
platform independet
code?
What this actually means is:

-We provide our own libc
-We provide our own runtime library
-We need actualy only simple code (c but no c++, may be d)
-We do not need classes and templates, constructors, destructors ... and
such things
-We don't want to use any windows libraries, but we use pe-coff object as
binary (without dos-exe header)
-We use 4GB flat memory modell

Is this possible with digitalmars c/c++/d/ compiler?

rg
Benjamin Kalytta


November 07, 2002
"Benjamin Kalytta" <bkausbk-nospam-@web.de> wrote in message news:aq1h49$2o9c$1@digitaldaemon.com...
> Hi all,
>
> Im a developer of an operating system. We are using gcc at this moment.
But
> gcc is very buggy and
> we are looking for a new compiler now. So I decided looking back to
> digitalmars. Some years ago
> I found this site. Is it possible digitalmars d/c/c++ compiler to generate
> platform independet
> code?
> What this actually means is:
>
> -We provide our own libc
> -We provide our own runtime library
> -We need actualy only simple code (c but no c++, may be d)
> -We do not need classes and templates, constructors, destructors ... and
> such things
> -We don't want to use any windows libraries, but we use pe-coff object as
> binary (without dos-exe header)
> -We use 4GB flat memory modell
>
> Is this possible with digitalmars c/c++/d/ compiler?

Yes, it's entirely possible. You'll need the Digital Mars CD which comes with the complete library source, and then you can modify it to suit.