delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Date: | Wed, 02 Jan 2002 18:18:59 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-Id: | <3405-Wed02Jan2002181859+0200-eliz@is.elta.co.il> |
X-Mailer: | emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 |
In-reply-to: | <slrn.pl.a363va.j1.Hary@localhost.localdomain> (message from HARY |
on Wed, 2 Jan 2002 14:29:27 +0000 (UTC)) | |
Subject: | Re: Unresolved externals. |
References: | <slrn DOT pl DOT a363va DOT j1 DOT Hary AT localhost DOT localdomain> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: HARY <Hary AT address DOT is DOT invalid> > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 2 Jan 2002 14:29:27 +0000 (UTC) > > Now I can link this program with: 'Dlstat=stat -Dsetegid=setgid > --Dseteuid=setuid' options. > > But I've never before tried to port UNIX program to DOS. Is it > preferred method or should I do it in another way? The preferred method is to make the program itself automatically portable. For example, the `lstat' vs `stat' issue is fixed like this: #include <sys/stat.h> #ifndef S_ISLNK # define lstat(f,s) stat(f,s) #endif
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |