www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D - Generate platform independent output

↑ ↓ ← "Benjamin Kalytta" <bkausbk-nospam- web.de> writes:
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
Nov 02 2002
↑ ↓ → "Walter" <walter digitalmars.com> writes:
"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.

 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.
Nov 06 2002