compiling up combined fortran and c/X programs with FreeBSD
Lachlan Cranswick
l.m.d.cranswick
Fri Oct 1 04:26:10 BST 1999
This may have been obvious to some but the following may
help some other fortran script kiddies:
For the problem of errors such as:
xdrvr.c:33 X11/Xlib.h: No such file or directory
etc, etc, etc
When compiling up with commands such as:
g77 -o platon platon.f xdrvr.c -lX11
----
The magic options were:
-I /usr/X11R6/include -L /usr/X11R6/lib
e.g.,
g77 -o platon platon.f xdrvr.c -I /usr/X11R6/include -L /usr/X11R6/lib -lX11
=====
Cheers,
Lachlan.
Lachlan M. D. Cranswick
Collaborative Computational Project No 14 (CCP14)
for Single Crystal and Powder Diffraction
Daresbury Laboratory, Warrington, WA4 4AD U.K
Tel: +44-1925-603703 Fax: +44-1925-603124
E-mail: l.cranswick at dl.ac.uk Ext: 3703 Room C14
http://www.ccp14.ac.uk
More information about the Ukfreebsd
mailing list