* Re: g77 -mno-cygwin failed
@ 2003-09-25 14:11 Teun Burgers
2003-09-25 14:42 ` Igor Pechtchanski
2003-09-25 14:47 ` Roman Belenov
0 siblings, 2 replies; 10+ messages in thread
From: Teun Burgers @ 2003-09-25 14:11 UTC (permalink / raw)
To: cygwin
TX wrote:
> Hi All
> G77 in the latest GCC-3.3.3-1 doesn't work:
>
> >g77 -mno-cygwin foo.f
> >g77: installation problem, cannot exec 'f771': No such file or
> directory
>
> Can anyone help?
Compiling a Hello world fortran program with g77 -v reveals that
g77 -v -o hello hello.f
calls /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/f771.exe. (OK)
g77 -v -mno-cygwin -o hello hello.f
calls f771.exe and can't find f771.exe along the path.
A problem with the specs file?
Teun
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 14:11 g77 -mno-cygwin failed Teun Burgers
@ 2003-09-25 14:42 ` Igor Pechtchanski
2003-09-25 15:16 ` Teun Burgers
2003-09-25 14:47 ` Roman Belenov
1 sibling, 1 reply; 10+ messages in thread
From: Igor Pechtchanski @ 2003-09-25 14:42 UTC (permalink / raw)
To: Teun Burgers; +Cc: cygwin
On Thu, 25 Sep 2003, Teun Burgers wrote:
> TX wrote:
>
> > Hi All
> > G77 in the latest GCC-3.3.3-1 doesn't work:
> >
> > >g77 -mno-cygwin foo.f
> > >g77: installation problem, cannot exec 'f771': No such file or
> > directory
> >
> > Can anyone help?
>
> Compiling a Hello world fortran program with g77 -v reveals that
>
> g77 -v -o hello hello.f
>
> calls /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/f771.exe. (OK)
>
> g77 -v -mno-cygwin -o hello hello.f
>
> calls f771.exe and can't find f771.exe along the path.
> A problem with the specs file?
>
> Teun
"g77 -mno-cygwin" will most likely call
/usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the
"gcc-mingw" package. Unfortunately, "gcc-mingw" uses a weird packaging
scheme (a tarball inside a tarball), so you couldn't have used the package
search page to find that out. Judging by the size of the tarball in the
latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5
(2.1M), some files may be missing in the new version. It's likely
f771.exe is one of them. If you have the latest "gcc-mingw" installed,
"tar tf /etc/postinstall/gcc-mingw-3.3.1-20030804-1.tar | grep f77" should
confirm or deny my guess.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 14:11 g77 -mno-cygwin failed Teun Burgers
2003-09-25 14:42 ` Igor Pechtchanski
@ 2003-09-25 14:47 ` Roman Belenov
2003-09-25 15:12 ` Gerrit P. Haase
1 sibling, 1 reply; 10+ messages in thread
From: Roman Belenov @ 2003-09-25 14:47 UTC (permalink / raw)
To: cygwin
Teun Burgers <burgers@ecn.nl> writes:
> g77 -v -mno-cygwin -o hello hello.f
>
> calls f771.exe and can't find f771.exe along the path.
> A problem with the specs file?
f771 is not included in gcc-mingw package, so I guess it's a problem
with distribution.
--
With regards, Roman.
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 14:47 ` Roman Belenov
@ 2003-09-25 15:12 ` Gerrit P. Haase
0 siblings, 0 replies; 10+ messages in thread
From: Gerrit P. Haase @ 2003-09-25 15:12 UTC (permalink / raw)
To: Roman Belenov; +Cc: cygwin
Roman schrieb:
> Teun Burgers <burgers@ecn.nl> writes:
>> g77 -v -mno-cygwin -o hello hello.f
>>
>> calls f771.exe and can't find f771.exe along the path.
>> A problem with the specs file?
> f771 is not included in gcc-mingw package, so I guess it's a problem
> with distribution.
Make some symlinks in the directory:
/usr/lib/gcc-lib/i686-pc-mingw/3.3.1/
to all the executables in this directory:
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/
as it was in 3.2-x:
$ ls -l /usr/lib/gcc-lib/i686-pc-mingw32/3.2
total 143
-rwxr-xr-x 1 gerrit DomÀnen- 89490 Aug 17 2002 SYSCALLS.c.X*
lrwxrwxrwx 1 gerrit DomÀnen- 144 Aug 28 12:05 cc1.exe -> ../../i686-pc-cygwin/3.2/cc1.exe
lrwxrwxrwx 1 gerrit DomÀnen- 166 Aug 28 12:05 cc1obj.exe -> ../../i686-pc-cygwin/3.2/cc1obj.exe
lrwxrwxrwx 1 gerrit DomÀnen- 152 Aug 28 12:05 cc1plus.exe -> ../../i686-pc-cygwin/3.2/cc1plus.exe
lrwxrwxrwx 1 gerrit DomÀnen- 146 Aug 28 12:05 cpp0.exe -> ../../i686-pc-cygwin/3.2/cpp0.exe
lrwxrwxrwx 1 gerrit DomÀnen- 150 Aug 28 12:05 crtbegin.o -> ../../i686-pc-cygwin/3.2/crtbegin.o
lrwxrwxrwx 1 gerrit DomÀnen- 146 Aug 28 12:05 crtend.o -> ../../i686-pc-cygwin/3.2/crtend.o
lrwxrwxrwx 1 gerrit DomÀnen- 146 Aug 28 12:05 f771.exe -> ../../i686-pc-cygwin/3.2/f771.exe
drwxrwxrwx+ 3 gerrit DomÀnen- 4096 Aug 28 12:05 include/
-rwxr-xr-x 1 gerrit DomÀnen- 55372 Aug 17 2002 libgcc.a*
lrwxrwxrwx 1 gerrit DomÀnen- 140 Aug 28 12:05 specs -> ../../i686-pc-cygwin/3.2/specs
lrwxrwxrwx 1 gerrit DomÀnen- 154 Aug 28 12:05 tradcpp0.exe -> ../../i686-pc-cygwin/3.2/tradcpp0.exe
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 14:42 ` Igor Pechtchanski
@ 2003-09-25 15:16 ` Teun Burgers
2003-09-25 15:20 ` Igor Pechtchanski
0 siblings, 1 reply; 10+ messages in thread
From: Teun Burgers @ 2003-09-25 15:16 UTC (permalink / raw)
To: cygwin, Igor Pechtchanski
Igor Pechtchanski wrote:
> "g77 -mno-cygwin" will most likely call
> /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the
> "gcc-mingw" package. Unfortunately, "gcc-mingw" uses a weird packaging
> scheme (a tarball inside a tarball), so you couldn't have used the package
> search page to find that out. Judging by the size of the tarball in the
> latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5
> (2.1M), some files may be missing in the new version.
There is a softlink missing in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
hence missing in gcc-mingw-3.3.1-20030804.tar
Making this softlink from within this subdir fixes the problem:
ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
Teun
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 15:16 ` Teun Burgers
@ 2003-09-25 15:20 ` Igor Pechtchanski
2003-09-25 15:22 ` Gerrit P. Haase
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Igor Pechtchanski @ 2003-09-25 15:20 UTC (permalink / raw)
To: Teun Burgers; +Cc: cygwin
On Thu, 25 Sep 2003, Teun Burgers wrote:
> Igor Pechtchanski wrote:
>
> > "g77 -mno-cygwin" will most likely call
> > /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the
> > "gcc-mingw" package. Unfortunately, "gcc-mingw" uses a weird packaging
> > scheme (a tarball inside a tarball), so you couldn't have used the package
> > search page to find that out. Judging by the size of the tarball in the
> > latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5
> > (2.1M), some files may be missing in the new version.
>
> There is a softlink missing in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
> hence missing in gcc-mingw-3.3.1-20030804.tar
> Making this softlink from within this subdir fixes the problem:
>
> ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
>
> Teun
No, no, no! This will produce an executable linked with Cygwin (as can be
verified by running "cygcheck" on it). You don't want that -- you want
MinGW executables to be regular Windows programs, using MSVCRT.DLL as
their C/Fortran runtime.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 15:20 ` Igor Pechtchanski
@ 2003-09-25 15:22 ` Gerrit P. Haase
2003-09-25 15:23 ` Igor Pechtchanski
2003-09-25 15:34 ` Teun Burgers
2 siblings, 0 replies; 10+ messages in thread
From: Gerrit P. Haase @ 2003-09-25 15:22 UTC (permalink / raw)
To: Igor Pechtchanski
Igor Pechtchanski wrote:
>> There is a softlink missing in
>> /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
>> hence missing in gcc-mingw-3.3.1-20030804.tar
>> Making this softlink from within this subdir fixes the problem:
>> ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
> No, no, no! This will produce an executable linked with Cygwin (as can be
> verified by running "cygcheck" on it). You don't want that -- you want
> MinGW executables to be regular Windows programs, using MSVCRT.DLL as
> their C/Fortran runtime.
Why? What are the -mno-cygwin flags good for then? This was also the
way it was in gcc-3.2-x and it worked IIRC.
Gerrit
--
=^..^=
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 15:20 ` Igor Pechtchanski
2003-09-25 15:22 ` Gerrit P. Haase
@ 2003-09-25 15:23 ` Igor Pechtchanski
2003-09-25 15:34 ` Teun Burgers
2 siblings, 0 replies; 10+ messages in thread
From: Igor Pechtchanski @ 2003-09-25 15:23 UTC (permalink / raw)
To: cygwin; +Cc: Teun Burgers
On Thu, 25 Sep 2003, Igor Pechtchanski wrote:
> On Thu, 25 Sep 2003, Teun Burgers wrote:
>
> > Igor Pechtchanski wrote:
> >
> > > "g77 -mno-cygwin" will most likely call
> > > /usr/lib/gcc-lib/i686-pc-mingw/3.3.1/f771.exe, which should be part of the
> > > "gcc-mingw" package. Unfortunately, "gcc-mingw" uses a weird packaging
> > > scheme (a tarball inside a tarball), so you couldn't have used the package
> > > search page to find that out. Judging by the size of the tarball in the
> > > latest "gcc-mingw-20030911-2" package (1.3M) vs. the one in 20020817-5
> > > (2.1M), some files may be missing in the new version.
> >
> > There is a softlink missing in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
> > hence missing in gcc-mingw-3.3.1-20030804.tar
> > Making this softlink from within this subdir fixes the problem:
> >
> > ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
> >
> > Teun
>
> No, no, no! This will produce an executable linked with Cygwin (as can be
> verified by running "cygcheck" on it). You don't want that -- you want
> MinGW executables to be regular Windows programs, using MSVCRT.DLL as
> their C/Fortran runtime.
> Igor
Oops! Apologies -- you were absolutely correct. It's the "libgcc.a" that
needs to be Cygwin-independent; the executables are symlinked.
Note to self: verify the data before sending it to the list. I usually
do. Honest! :-D
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: g77 -mno-cygwin failed
2003-09-25 15:20 ` Igor Pechtchanski
2003-09-25 15:22 ` Gerrit P. Haase
2003-09-25 15:23 ` Igor Pechtchanski
@ 2003-09-25 15:34 ` Teun Burgers
2 siblings, 0 replies; 10+ messages in thread
From: Teun Burgers @ 2003-09-25 15:34 UTC (permalink / raw)
To: cygwin, Igor Pechtchanski
Igor Pechtchanski wrote:
> > There is a softlink missing in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1 and
> > hence missing in gcc-mingw-3.3.1-20030804.tar
> > Making this softlink from within this subdir fixes the problem:
> >
> > ln -s ../../i686-pc-cygwin/3.3.1/f771.exe f771.exe
> >
> > Teun
>
> No, no, no! This will produce an executable linked with Cygwin (as can be
> verified by running "cygcheck" on it).
Nope, the softlink *does* result in a correct dependency on msvcrt.dll (as
verified by cygcheck).
cc1.exe and cc1plus.exe in /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1
are already softlinks to the executables in /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1
created by unpacking gcc-mingw-3.3.1-20030804.tar.
Teun
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* g77 -mno-cygwin failed
@ 2003-09-25 4:59 TX
0 siblings, 0 replies; 10+ messages in thread
From: TX @ 2003-09-25 4:59 UTC (permalink / raw)
To: cygwin
Hi All
G77 in the latest GCC-3.3.3-1 doesn't work:
>g77 -mno-cygwin foo.f
>g77: installation problem, cannot exec 'f771': No such file or
directory
Can anyone help?
--
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-09-25 15:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 14:11 g77 -mno-cygwin failed Teun Burgers
2003-09-25 14:42 ` Igor Pechtchanski
2003-09-25 15:16 ` Teun Burgers
2003-09-25 15:20 ` Igor Pechtchanski
2003-09-25 15:22 ` Gerrit P. Haase
2003-09-25 15:23 ` Igor Pechtchanski
2003-09-25 15:34 ` Teun Burgers
2003-09-25 14:47 ` Roman Belenov
2003-09-25 15:12 ` Gerrit P. Haase
-- strict thread matches above, loose matches on Subject: below --
2003-09-25 4:59 TX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).