[Dev-C++] BC++, gcc and Win98SE shell
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <gi...@li...> - 2002-02-24 15:09:26
|
Hello list,
here is one, funny, thing of which I have no explanation:
consider the following program:
/* echo.c */
#include <stdio.h>
int
main(int argc, char **argv)
{
while (--argc)
printf("%s ", *++argv);
return 0;
}
I compiled it using:
GNU gcc 2.95 shipped with Dev-C++ (gcc -o echo_g.exe echo.c)
BC++ 5.5 of thge "Borland free command line tools" (bcc32 -eecho_b.exe
echo.c).
Then I've "touched" the files "foo.c" and "bar.c" and tried the following:
command output
echo_g *.c bar.c foo.c
echo_b *.c *.c
All of this on Win98SE.
Is there somebody that can tell what is going on?
Is this bug(?) common to the shell of other Windows systems too?
TIA
--
gisan
gi...@li...
|