Perhaps your patch is "the right thing", then I would like to see it in
cygwin's dejagnu, OTOH, "-lm" is quite normal to have. Perhaps cygwin could
handle "multiple" "-lm"  as "-lcygwin" in principle is "-lm" also...

But, what the heck, I'm, just a user... :-)

Cheers,

/ChJ

----- Original Message -----
From: "Billinghurst, David (CRTS)" <[EMAIL PROTECTED]>
To: "'Christian Jönsson'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 12:47 AM
Subject: RE: Results for 2.97 20010115 (experimental) testsuite on
i686-pc-cygwin


Your g77 failures are caused by linking with -lm.  Try the following patch
to usr/share/dejagnu/target.exp.  Crude, but it works.


--- target.exp.bak      Wed Jan 24 10:39:04 2001
+++ target.exp  Wed Jan 24 10:39:30 2001
@@ -471,7 +471,7 @@
        if [board_info $dest exists mathlib] {
            append add_flags " [board_info $dest mathlib]"
        } else {
-           append add_flags " -lm"
+           append add_flags ""
        }

        # This must be added here.


I see you managed to get dejagnu running with cygwin installed in c:\cygwin.
I have not been able to do this.   Did you install your own versions of
dejagnu, tcltk and expect.  If so, where did you get them from and how did
you build them?

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone: +61 3 9469 0642
FAX: +61 3 9462 2700
Email: [EMAIL PROTECTED]





> -----Original Message-----
> From: Christian Jönsson [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, 24 January 2001 6:50
> To: gcc-testresults
> Cc: cygwin
> Subject: Results for 2.97 20010115 (experimental) testsuite on
> i686-pc-cygwin
>
> This was on an win2k/sp1 host with an up to date cygwin install.
> Root dir of cygwin install is C:\cygwin.
>
> binutils-20001221-1
> cygwin-1.1.7-1
> dejagnu-20010117-1
> expect-20010117-1
> gcc-2.95.2-6
> tcltk-20001125-1
>



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Reply via email to