|
From: Sternbach, W. [IT] <wil...@ss...> - 2002-03-28 13:25:18
|
Hello, I've encountered what I believe is a bug with the MSYS 1.1 gcc compiler version 2.95.3.6. gcc does not process wildcards correctly: gcc -c mapm*.c The above line should compile the programs which begin with mapm and have the ".c" suffix. (Example: mapmadd.c, mapm_cpi.c, mapm_div.c, etc) It does seem to attempt to compile each program separately, but it gives you hundreds of compiler errors when the code should compile perfectly. But, it works if you code each program on a separate line like: gcc -c mapmadd.c gcc -c mapm_cpi.c gcc -c mapm_div.c I ran into this bug when attempting to compile a wonderful set of "C" programs from Michael Ring which do arbitrary precision math. I used his bat file which contained gcc -c mapm*.c and I ran into this problem. This "gcc -c mapm*.c" syntax works on all other compilers, including: 1) Unix gcc compiler, 2) gcc port for the Microsoft windows created by D.J. Delorie and available at www.delorie.com/djgpp 3) All Microsoft and Borland compilers. 4) Sun Microsystems's compiler. If anyone wishes to make a patch for this, it would be helpful in making our mingw version 2.95.3.6 compiler able to compile software and build software you download from the internet successfully like other compilers. - Bill |