Mail Archives: djgpp-workers/1998/12/02/07:00:20
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> On Tue, 1 Dec 1998, Salvador Eduardo Tropea (SET) wrote:
>
> > /dev/prn -> v2.01 and v2.02: is a device
> > prn -> v2.02: is a device
> > /foo/prn -> both says that's a normal file but DOS
> > understands it as a device.
> >
> > The questions are:
> > Is just me? (I mixed stat from v2.02 and the rest of 2.01)
> > Is that easy to solve? I didn't tried because I know Eli
> > knows all the guts of stat and I guess he can find the
> > solution much more quickly and cleanly.
>
> I would gladly help, but I don't see the problem: "/foo/prn" works
> for me in both patched 2.01 libc and in the latest 2.02 beta. (I
> don't have stock 2.01 to try.)
>
> Maybe you mixed versions in a way that broke something?
Yes perhaps was it.
> You need to
> use the entire libc.a and the include directory from v2.02, to get
> consistent results (use -I and -L switches to gcc to force it to
> search the correct directories). Some parts of this puzzle are solved
> in places other that stat.c proper (I think _truename and _put_path
> have something to do with how the devices are handled).
Ok. I have an experimental djgpp installation. Is reduced but complete
enough. I did it last night to test egcs v.s. pgcc v.s. gcc using some BYTE
benchmarks. So I'll try to compile a test with it.
BTW, I compiled the1996 BYTE benchmarks with the 3 compilers and I can
contrast the results with a Watcom 10a compiled exe. Should I post the
results?
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -