On Mar 22, 2010, at 9:58 , Vincenzo Urso Miano wrote: > C:\Program Files\plplot\share\plplot5.9.5\examples\f77>gcc -o test > x01f.f `pkg-c > onfig --libs --cflags glib-2.0` > gcc: `pkg-config: No such file or directory > gcc: glib-2.0`: No such file or directory > f771.exe: error: unrecognized command line option "-flibs" > f771.exe: error: unrecognized command line option "-fcflags" > __________________________________________________ > > Could you help me with that?
It looks like you are trying to use bash's backtick substitution with Windows command prompt (e.g. cmd.exe). I don't think Windows command prompt supports backtick substitution, so it passes "`pkg-config" and "--libs" and "--cflags" and "glib-2.0`" as arguments to gcc and gcc treats "`pkg-config" and "glib-2.0`" as filenames and "--libs" "-- cflags" as other gcc options. Try running the above command gcc command in a bash shell. Hope this helps, Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
