Mail Archives: djgpp/1996/07/24/01:00:30
I use msdos and linux and I like the unix-isms. They make me feel more
welcome in dos ;-)
-Pat
Tom Wheeley (tomw AT tsys DOT demon DOT co DOT uk) wrote:
: In article <199607161225 DOT IAA19062 AT delorie DOT com>
: dj AT delorie DOT com "DJ Delorie" writes:
: > > I think everyone agrees when i say that to much "UNIXism" has made DJGPP
: > > slow :)
: >
: > I'd also like to know which unixisms you'd like to throw away, and why
: > you feel that they'd improve the compilation speed.
: >
: The only thing about gcc that I can think of as presumably slowing it down
: other than its optimisation and generality, is its use of the temporary files.
: I can't see a good way to avoid this without a massive redesign of gcc (in
: DOS this is, no -pipe here :)
: AFAICS, all the other `unix-isms' which DJGPP supports are simply in libc or
: whatever, and are just linked in at the end.
: .splitbung
: --
: #include <stdio.h> /* The .splitbung super .sig system! */
: #include <string.h>
: main(){FILE *f;int c;char s[99];puts("fav .sig: ");fgets(s,99,stdin);strtok
: (s,"\n");f=fopen(s,"rb");while((c=getc(f))!=EOF)putchar(c);if(f)fclose(f);}
- Raw text -