Igor Peshansky wrote:
> Doesn't foo.F represent a FORTRAN file that needs to be preprocessed
> by the C preprocessor? Changing foo.F to contain
>
> #include "foo.inc"
>
> makes it work for me.
That is no doubt the difference. As I said, I don't use
FORTRAN enough to know what others would expec
On Tue, 27 Jun 2006, Williams, Gerald S (Jerry) wrote:
> I just recreated the problem with some minimal code,
> and got some more information in the process:
>
> Create a file "foo.for" that contains one line:
> include 'foo.inc'
>
> Create an empty file named foo.inc in the same
> directo
Dave Korn wrote:
> We *need* to see the actual command line.
That was in the original post (sorry, I should have made
sure it was included in the text when I CC'ed you...):
> f77 -O2 -c -o jlgen.o jlgen.F
The command was being executed from the same directory
as jlgen.F, which also contains
Yes I forgot to mention that the include file that the compiler could
not find was in the working directory.
Adding a -I./ to the flags has seemed to solve this.
On 6/26/06, Williams, Gerald S (Jerry) <[EMAIL PROTECTED]> wrote:
Brad Krane wrote:
> I'm trying to compile the scientific package CM
On 27 June 2006 14:41, Williams, Gerald S (Jerry) wrote:
> Billinghurst, David (CALCRTS) wrote:
>> This is not really a cygwin problem.
>
> I guess you didn't see my post--if the compiler should be
> able to find an include file in the same directory as the
> source file (and/or the current direc
Billinghurst, David (CALCRTS) wrote:
> This is not really a cygwin problem.
I guess you didn't see my post--if the compiler should be
able to find an include file in the same directory as the
source file (and/or the current directory, since they are
the same in this case), then it is a cygwin prob
> From: Brad Krane
>
> I'm trying to compile the scientific package CMBFAST-4.5.1 in the
> cygwin environment using g77. I get the following error and I have no
> idea how to fix this having never used Fortran before. This should
> work without any problem as many other people have compiled this a
Brad Krane wrote:
> I'm trying to compile the scientific package CMBFAST-4.5.1 in the
> cygwin environment using g77. I get the following error...
>
> f77 -O2 -c -o jlgen.o jlgen.F
> jlgen.F: In program `jlgen':
> jlgen.F:14:
> include 'cmbfast.inc'
> ^
> Unable to open INCLUDE f
Brad Krane wrote:
I'm trying to compile the scientific package CMBFAST-4.5.1 in the
cygwin environment using g77. I get the following error and I have no
idea how to fix this having never used Fortran before. This should
work without any problem as many other people have compiled this and
never r
I'm trying to compile the scientific package CMBFAST-4.5.1 in the
cygwin environment using g77. I get the following error and I have no
idea how to fix this having never used Fortran before. This should
work without any problem as many other people have compiled this and
never run up on a similar
10 matches
Mail list logo