Problem solved..
For my example I had to:
cp libg2c.a libmyg2c.a
ar d mylibg2c.a main.o (you don't need it because mingw provides it :-)
g77 -o mytest mytest.c -L. -lmyg2c -lgrx20 -mwindows
Working well (with FORTRAN too..).
GS
--
Gerhard Schneider e-Mail: gs@ilfb.tuwien.ac.at
Institute of Light Weight Structures (E317) Tel.: +43 1 58801 31716
Vienna University of Technology / Austria Fax: +43 1 58801 31799
A-1040 Wien, Gusshausstrasse 27-29
http://ilfb.tuwien.ac.at/~gs/