🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #20993

Re: Linux <-> Windows

#20993
From: Erwin Richard
Date: Mon, 23 Aug 1999 00:00
26 lines
1665 bytes
Claudio Mettler <claudio.mettler@schweiz.org> wrote in message
news:37C05972.20E282B@schweiz.org...
> Hallo zusammen,
>
> Wie weit ist eigentlich C-Sourcecode Plattformkompatibel?


Sourcecode Kompatibilit�t ist nur mit Kompromissen zu erhalten. Es kommt
ganz darauf an was Du machen willst. So gibt es z.B. GUI Libraries (meist
C++) welche sowohl auf Linux und Windows funktionieren. Leider hast Du damit
immer das Problem, dass du auf jeder Plattform nur ein Subset der Features
benutzen kannst.

Sobald Du etwas anspruchsvolleres machen willst kommst Du um
plattformabh�ngige Codeteile (#ifdef ....) praktisch nie herum.

Einige Stoplersteine:

- Unterschiedliche Standardkonformit�t der C C++ Kompiler (neueste C++
features werden teilweise nicht unterst�tzt)
- Unterschiedliche c runtime libraries
- Byte Ordering / Memory Layout von structs
- Socket Libraries nicht identisch
.....

Erwin
Technical Details
Message-ID: <37c18d3b@rba-bone>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37C05972.20E282B@schweiz.org>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,68f0bdef66b32534,start
X-Google-Attributes: gidf4b73,public
From: "Erwin Richard" <Erwin.Richard@service.rba.ch>
Subject: Re: Linux <-> Windows
Date: 1999/08/23
Message-ID: <37c18d3b@rba-bone>
X-Deja-AN: 516252711
References: <37C05972.20E282B@schweiz.org>
X-Original-NNTP-Posting-Host: 193.223.112.213
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: news@ip-plus.net
X-Trace: pollux.ip-plus.net 935431538 13463 163.168.212.12 (23 Aug 1999 18:05:38 GMT)
Organization: Swisscom IP+ (post doesn't reflect views of Swisscom)
X-MSMail-Priority: Normal
NNTP-Posting-Date: 23 Aug 1999 18:05:38 GMT
Newsgroups: ch.comp.os.linux