From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d3bcc180a8b0eea4 X-Google-Attributes: gid103376,public X-Google-Thread: 108abf,d3bcc180a8b0eea4 X-Google-Attributes: gid108abf,public From: "Keith Willshaw" Subject: Re: [Fwd: F22 completes 11% of its Flight tests] Date: 2000/01/17 Message-ID: <85uh90$9t4$1@ssauraac-i-1.production.compuserve.com>#1/1 X-Deja-AN: 573650545 References: <387C8859.621FA20B@netscape.net> <387CC1C0.4C57E34C@quadruscorp.com> <387CEE4A.3965@Ganymede.com> <387F8E50.11D27E14@quadruscorp.com> <85oclj$nbp$1@nnrp1.deja.com> <387FCA73.3A61@Ganymede.com> <85ok6v$iee$1@ssauraab-i-1.production.compuserve.com> <3880CCC7.261957BC@quadruscorp.com> <85qo3f$lic$1@ssauraac-i-1.production.compuserve.com> <38821915.B56815F8@maths.unine.ch> <85t9oa$867$1@ssauraaa-i-1.production.compuserve.com> <38826BCE.6FB484B3@maths.unine.ch> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsmaster@compuserve.com X-Trace: ssauraac-i-1.production.compuserve.com 948095072 10148 212.211.10.7 (17 Jan 2000 07:44:32 GMT) Organization: CompuServe Interactive Services NNTP-Posting-Date: 17 Jan 2000 07:44:32 GMT Newsgroups: rec.aviation.military,comp.lang.ada Date: 2000-01-17T07:44:32+00:00 List-Id: Gautier wrote in message <38826BCE.6FB484B3@maths.unine.ch>... > >Just curious: > * Do you have also _one_ makefile ? Yes > * Is there no conditional defines in the source code files that make differences > between the Windows NT/9x ,SG Irix, Solaris, Dec Unix, RS6000 and HP Unix > platforms ? > We use machine dependent libraries to handle the differences between implementations. This is mainly for issues like FileIO Graphics etc. The idea is that the calls to those machine dependent libraries are the same what ever implementation is required. Once a set of these libraries is stable they rarely change In reality there are two main graphics libraries Windows and Motif and the file I/O parts are also essentially split between UNIX and Win9x with same differences in the RS implementation >I ask it because many resources (in C) on the Web claim to be portable >but in fact are only ported on many platforms, with conditional defines >that switch even basic type definitions, memory management etc. >e.g. Info-Zip stuff. > No thats a pain We actually have 4 develiopers sharing the same source code mounted off our main Sun Server. Each has a Unix Box of different type and a PC They simply compile for each target from the same code. There's a script which checks the machine ID and links the correct machine libraries. Keith