build and fortran
Ben Elliston
bje@redhat.com
Thu Oct 5 06:28:00 GMT 2000
Hi,
I've grabbed the SN4.5.2 tarball, and when I ./configure I get the following:
Configuring for a i686-pc-linux-gnu host.
*** Cannot configure in source tree.
*** Make a parallel directory and configure there.
You need to build in a separate tree to the source tree:
$ mkdir build && cd build
$ ../sn-src/configure [options]
"Two ways to add a rule for fortran, one is using
sn_add_simple_ide_rule in .../etc/sn_prop.cfg
sn_add_simple_ide_rule Fortran \
-suffix-list {.o.f90} \
-action "$<" \
-tool fortran \
-description "Compile a Fortran file." \
-file-type Fortran
replace "-tool fortran" with whatever fortran compiler you are using. "
This is for building, not parsing. Look in S-N's project preferences for
the extensions that it recognises as Fortran files (and not that the Fortran
parser doesn't handle F90 yet).
I did this, with the approporiate suffixes compiler etc, but
SNavigator does not recognice my *.F90 files. Is their something more
like a reboot?
I should hope not!
Hope this helps,
Ben
More information about the Sourcenav
mailing list