delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/09/16:25:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Building slang lib for Cygwin
References: <1026229553 DOT 3d2b05319c416 AT www DOT mailshell DOT com>
X-Face: I-*}xvwusAv%MlABo'jVNP7TDXf5bb*L[q,r{DnsR1GoL07^Wf)sAu%>!LjXAFlZZN+`OQu
}?#du]C)[*%ERKR#+l#sX'EoNbSO~|.x AT ogoS5|"-u?<s5ViLslvYMlj7_n!Tq1m AT xt2Bhj4[Zg+e?
/Yy\SE`V?%v~kRU3GoS1f&U]}
From: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
Date: Tue, 09 Jul 2002 22:24:07 +0200
In-Reply-To: <1026229553.3d2b05319c416@www.mailshell.com> (news@garydjones.mailshell.com's
message of "Tue, 09 Jul 2002 08:45:53 -0700")
Message-ID: <87it3od508.fsf@vzell-de.de.oracle.com>
Lines: 77
User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp
(candidate 1), i686-pc-cygwin)
MIME-Version: 1.0

>>>>> "news" == news  <news AT garydjones DOT mailshell DOT com> writes:

    news> Reposted from alt.lang.s-lang, where no response was rec'd. If anyone here has 
    news> any experience with it I would appreciate some pointers. Ta.

    news> I am attempting to build s-lang 1.4.5 under Cygwin. Actually, 
    news> correction, I have already done so, and it compiled out of the 
    news> box. Then, when I do make runtests, I get this:

    news> Running tests:

    news> Testing syntax ...Ok
    news> Testing sscanf ...S-Lang Traceback: (Error occurred on line 40)
    news> S-Lang Traceback: test_atof
    news> File: sscanf.sl
    news>   Local Variables:
    news>         $0: Type: Double_Type,  Value:  -1.82703
    news>         $1: Type: Undefined_Type,       Value:  Undefined_Type
    news>         $2: Type: String_Type,  Value:  "-
    news> 1.827031849739504609786422406614292412 
    news> 9962920000000000000000000000e+00"
    news>         $3: Type: String_Type,  Value:  "-
    news> 1.827031849739504609786422406614292412 
    news> 9962920000000000000000000000E+00"
    news> S-Lang Traceback: (Error occurred on line 75)
    news> S-Lang Traceback: (Error occurred on line 72)
    news> S-Lang Traceback: loop
    news> S-Lang Traceback: (Error occurred on line 61)
    news> S-Lang Traceback: test_atof_main
    news> File: sscanf.sl
    news>   Local Variables:
    news>         $0: Type: Integer_Type, Value:  1000
    news>         $1: Type: Double_Type,  Value:  -91.5717
    news>         $2: Type: Double_Type,  Value:  -1.70002
    news>         $3: Type: Double_Type,  Value:  -1.82703
    news> S-Lang Error: Internal Error: called from line 81, file: 
    news> sscanf.sl
    news> Testing looping constructs ...Ok
    news> [everything else ok]

    news> Is this something I should be worried about? I'm not sure if 
    news> this is "normal" behaviour under Cygwin or whether something has 
    news> got messed up along the way somewhere. TIA for any advice.

Compiles OOTB for me (with gcc-2.95.3-5)

Here the test run:

make[1]: Entering directory `/gnu/src/slang-1.4.5/src/test'
gcc -g -O2 -fno-strength-reduce  sltest.c -o sltest -I.. -L../objs -lslang  -lm

Running tests:

Testing syntax ...Ok
Testing sscanf ...Ok
Testing looping constructs ...Ok
Testing Arithmetic ...Ok
Testing array functions ...Ok
Testing string functions...Ok
Testing Binary Strings...Ok
Testing pack and unpack functions...Ok
Testing stdio routines...Ok
Testing Associative Arrays ...Ok
Testing recursive function modifications ...Ok
Testing structures ...Ok
Testing NameSpace routines ...Ok
Testing ospath ...Ok
Testing #ifeval ...Ok
Testing Any_Type ...Ok
Testing Matrix Multiplications ...Ok
touch sltest.c
make[1]: Leaving directory `/gnu/src/slang-1.4.5/src/test'

    news> Please reply to the list.

Ciao
  Volker


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019