On 2007-10-30 07:09+0900 Hiroyasu Yasuda wrote:

>
> On 2007/10/29, at 19:27, Alan W. Irwin wrote:
>
>> Please run the command that determines the compile flags and link flags, 
>> i.e.,
>> 
>> PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/lib/pkgconfig \
>> pkg-config --cflags --libs plplotd-f77
>
> Alan, I tried to build a fortran sample code of plplot with options which you 
> suggested me and then I got error message as follows:
>
> $ g77 x01f.f -o x01f.exe -Wl,-rpath -Wl,/home/yasu/plplot-5.8.0-RC1/ 
> b001/instal
> l/lib `PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/lib/pkgconfig 
> p
> kg-config --cflags --libs plplotd-f77`
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
> find
> -lplplotf77d
> collect2: ld returned 1 exit status
>

Actually I did not ask you to run g77.  Instead the directions
above were to run exactly the following command:

PKG_CONFIG_PATH=/home/yasu/plplot-5.8.0-RC1/b001/install/lib/pkgconfig \
pkg-config --cflags --libs plplotd-f77

(not g77) and send the results (which should be a bunch of compiler flags
and linker flags) to the list.  The backticks surrounding this command for
the g77 command line simply make all those compiler flags and linker
flags available to g77, but I don't want the g77 results, I want the
actual flags themselves which I why I asked you to run the above command
on its own without g77.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to