Organization: Ecole Nationale Superieure des Telecommunications, Paris Date: Mon, 28 Jun 93 18:08:13 +0200 From: David Powers To: dave AT echologic DOT com Subject: Re: getcwd -- to drive: or not to drive: Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Content-Length: 484 > It seems to me that the best way to resolve the getcwd() problem is to create > a second library, something like libdos.a. This would contain a getcwd() that > behaves like the "standard" dos function instead of the standard unix function. > The library would contain any other functions that work differently in DOS > than they do in UNIX. > > Now if you are porting a DOS program, link with libdos.a before the > other libraries. If you are porting a UNIX program, leave libdos.a > out. At last a sensible (and clearly correct) approach to the Problem! dP