This is the mail archive of the
cygwin
mailing list for the Cygwin project.
I cannot linking with g95 under Cygwin...?
- From: anh dot khai dot nguyen at free dot fr
- To: cygwin at cygwin dot com
- Date: Thu, 13 Apr 2006 10:13:50 +0200
- Subject: I cannot linking with g95 under Cygwin...?
Oyo!
I'm new user of g95 and I really like using Cygwin. So, I've install
G95 tarball for Cygwin and make some programs. These programs were
running good. And, I tried many things like mixing language, using
others libraries or something else. (My domain is mathematics...) But,
today, when I tried to compile this program
prog.f90 :
program bouh
implicit none
print *, 'Hello! World!'
end program
There are no problems with compilation. But, during the linking, I've
this error:
$ g95 -o prog.exe prog.f90
Info: resolving __g95_filename by linking to __imp___g95_filename
(auto-import)
Info: resolving __g95_line by linking to __imp___g95_line (auto-import)
Info: resolving __g95_ioparm by linking to __imp___g95_ioparm
(auto-import)
/lib///libcygwin.a(libcmain.o):: undefined reference to `WinMain@16'
Before, it ran...But now, it's an error! So, I tried to reinstall g95,
it doesn't work and I tried to reinstall some cygwin packages (like the
Developpement tools or System...), it doesn't work too. So I don't what
to do now...Can I have some help please?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/