delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/05/13:08:33

Message-ID: <DB85AFBE7C0DD311BF260004ACB80BFCEC24@nex_server.nextransport.com>
From: George Kinney <GKinney AT nextransport DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: libc reference
Date: Tue, 5 Oct 1999 10:33:39 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp AT delorie DOT com

>1. I use RHIDE for DOS and all works OK, but the Linux version doesn't
>have the libc reference.
>Is it missing ?  is it misconfigurated ?  

if 'info' at a command prompt doesn't start it, then one of the above.
(Any linux gurus who can help with this one?)

>2. I love to use DJGPP but most of my programs must run on Linux, where
>can I get a libc reference with the real portable C commands, or, where
>says which command is dos-dependant, etc.

Well, the info docs which come with gcc document libc, and each function
has a portability entry, letting you know if its ANSI, POSIX, OS specific or

whatever. But with your info reader broken on Linux, you won't be able to
look.

Alternatively, if you're planning to write for DJGPP (DOS/Win I assume?)
then
you could also install DJGPP, and use the libc references from there.

gcc is pretty good in that a very high percentage of it's standard
functionality 
(including library functions) is available on all platforms that gcc is. And
at any rate,
if you stick with ANSI/POSIX functions you'll be OK with a very few
exceptions. 
(gcc specific functions are often usable between gcc variants, but you never

know...)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019