🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2497

Re: Frustrated trying to be portable

#2497
From: Doug Gwyn
Date: Tue, 26 Feb 1991 20:19
13 lines
1156 bytes
In article <4108@lupine.NCD.COM> rfg@NCD.COM (Ron Guilmette) writes:
>Why wasn't this done?

It wasn't necessary.

>Now that this mistake has been made, is there any "common practice" or
>defacto standard method by which a program can check to see if it is being
>compiled by/within a "hosted" implementation or a "standalone" implementation?

It isn't necessary.  If the application requires library functions
that are required for a hosted implementation but not for a
freestanding implementation, then it couldn't survive being told
that it is being compiled by a freestanding implementation anyway.
Technical Details
Message-ID: <15333@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn
References: <1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <2956@cirrusl.UUCP> <4108@lupine.NCD.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Frustrated trying to be portable
Keywords: ANSI C, standard library
Message-ID: <15333@smoke.brl.mil>
Date: 26 Feb 91 20:19:45 GMT
References: <1991Feb17.203337.20569@uokmax.ecn.uoknor.edu> <2956@cirrusl.UUCP> <4108@lupine.NCD.COM>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 13