public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: G77 -mno-cygwin
@ 2003-09-26  4:20 TX
  0 siblings, 0 replies; 3+ messages in thread
From: TX @ 2003-09-26  4:20 UTC (permalink / raw)
  To: cygwin

CGF
Many thanks for the new gcc-mingw update! Everything works (as far as I
tested) now.


--
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] 3+ messages in thread

* Re: g77 -mno-cygwin
@ 2000-11-02 10:42 Earnie Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Earnie Boyd @ 2000-11-02 10:42 UTC (permalink / raw)
  To: Simon Cooke, cygwin

--- Simon Cooke <cooke@mmace.nrl.navy.mil> wrote:
> 
> Must I use a mingw32 version of libg2c.a, or would a similar fix be possible
> for g77?
> 

Yes, you must use a MinGW version of libg2c.a.

Cheers,  

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* g77 -mno-cygwin
@ 2000-11-02  9:03 Simon Cooke
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Cooke @ 2000-11-02  9:03 UTC (permalink / raw)
  To: cygwin

I tried to use g77 from the latest net release (GNU Fortran 0.5.25 19991024)
with the -mno-cygwin flag, and a trivial example fails to compile:

      program testg77
      end

gives

$ g77 -mno-cygwin testg77.f
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(s_stop.o)(.text+0x2f):s_stop.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(s_stop.o)(.text+0x51):s_stop.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(s_stop.o)(.text+0x6d):s_stop.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x49f):err.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x4c1):err.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x50b):err.c: more
undefined references to `_impure_ptr' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x76f):err.c: undefined
reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x83d):err.c: undefined
reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(err.o)(.text+0x8ab):err.c: undefined
reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(endfile.o)(.text+0x5d):endfile.c: undefined
reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(endfile.o)(.text+0x368):endfile.c: undefined
reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(open.o)(.text+0x28a):open.c: more
undefined references to `__errno' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sig_die.o)(.text+0x16):sig_die.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sig_die.o)(.text+0x30):sig_die.c: undefined
reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libg2c.a(sig_die.o)(.text+0x46):sig_die.c: undefined
reference to `_impure_ptr'
collect2: ld returned 1 exit status                                                                                                   
$

A similar problem with gcc was reported in the mailing list

  http://sources.redhat.com/ml/cygwin/2000-05/msg00834.html

and reportedly fixed

  http://sources.redhat.com/ml/cygwin/2000-06/msg00938.html

Must I use a mingw32 version of libg2c.a, or would a similar fix be possible
for g77?

Thanks for any help,
Simon






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-26  4:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26  4:20 G77 -mno-cygwin TX
  -- strict thread matches above, loose matches on Subject: below --
2000-11-02 10:42 g77 -mno-cygwin Earnie Boyd
2000-11-02  9:03 Simon Cooke

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).