Mail Archives: djgpp/1993/06/28/13:09:36
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
- Raw text -