Home > Archive > Fortran > October 2004 > Re: installing g95 under cygwin - similar problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: installing g95 under cygwin - similar problem
|
|
| Roger Zemp 2004-10-22, 3:57 pm |
| Regarding G95 on cygwin, I'm having a similar problem, but the message is
slightly different:
g95: installation problem, cannot exec 'as': No such file or directory
However, running g95 without input file correctly results in: "g95: no
input files" and
"g95 -E <file>" lists the input file, so I assume the symbolic link to the
executable is OK.
Any ideas?
Thanks
Roger
Roger J. Zemp
School of Chemical Engineering
Unicamp - Brazil
| |
| Janne Blomqvist 2004-10-22, 3:57 pm |
| On 2004-10-22, Simon Geard <simon@quintic.co.uk> wrote:
> Roger Zemp wrote:
> 'as' is the GNU linker presumably used by g95 when it tries to link. I
Hmm...
> guess in the two examples you give that do work g95 isn't trying to use
> the linker.
>
> If you type 'as --version' into a cygwin shell you should get something
> like:
>
> GNU assembler 2.15.91 20040725
I smell a contradiction here.. ;-)
As 'as --version' itself says, 'as' is the assembler. The linker is a
separate program, called 'ld'.
I'm pretty sure that both are needed for a functioning g95
installation (unless you can use some builtin windows linker if such a
thing exists).
--
Janne Blomqvist
| |
| Roger Zemp 2004-10-22, 3:57 pm |
| Thanks for the quick reply. I checked my present cygwin setup, and a lot
more than just 'as' and 'ld' is missing. Going thru the documentation now
and will do the necessary downloads and upgrades.
Roger
| |
| Joost VandeVondele 2004-10-22, 3:57 pm |
| > Going thru the documentation now
> and will do the necessary downloads and upgrades.
as and ld are part of the binutils package IIRC.
Cheers,
Joost
|
|
|
|
|