From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Again on Windows support (2) Date: Wed, 17 Jun 2009 22:09:08 +0100 Message-ID: <87ab46efez.fsf@arudy.ossau.uklinux.net> References: <87eitiegpf.fsf@arudy.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245272973 19071 80.91.229.12 (17 Jun 2009 21:09:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2009 21:09:33 +0000 (UTC) Cc: guile-devel To: "carlo.bramix" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 17 23:09:29 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MH2Nl-0005Et-C6 for guile-devel@m.gmane.org; Wed, 17 Jun 2009 23:09:21 +0200 Original-Received: from localhost ([127.0.0.1]:59740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MH2Nk-000563-O5 for guile-devel@m.gmane.org; Wed, 17 Jun 2009 17:09:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MH2Ni-00055b-0y for guile-devel@gnu.org; Wed, 17 Jun 2009 17:09:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MH2Nc-00052N-UU for guile-devel@gnu.org; Wed, 17 Jun 2009 17:09:17 -0400 Original-Received: from [199.232.76.173] (port=52970 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MH2Nc-00052J-Ob for guile-devel@gnu.org; Wed, 17 Jun 2009 17:09:12 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:33506) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MH2Nc-0006ff-Ak for guile-devel@gnu.org; Wed, 17 Jun 2009 17:09:12 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id D38CE1F9984; Wed, 17 Jun 2009 22:09:09 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id DC44938021; Wed, 17 Jun 2009 22:09:08 +0100 (BST) In-Reply-To: <87eitiegpf.fsf@arudy.ossau.uklinux.net> (Neil Jerram's message of "Wed\, 17 Jun 2009 21\:41\:16 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8692 Archived-At: Neil Jerram writes: > "carlo.bramix" writes: > >> $ ./pre-inst-guile -c '(display "foo")' >> Backtrace: >> In unknown file: >> ?: 0* (begin (eval-string "(display") (quit)) >> ?: 1* [eval-string "(display"] > > That is weird. > > Can we first rule out a problem with your shell? What output do you > get from this? > > $ set - '(display "foo")' && echo "--${1}--" && echo "--${2}--" Assuming that that gives the expected output, i.e. --(display "foo")-- ---- my next suggestion would be to run under GDB, with a breakpoint on scm_shell(). The invocation for doing that is ./pre-inst-guile-env ./libtool --mode=execute gdb libguile/guile -c '(display "foo")' In scm_shell, I would expect: argc to be 3 argv[1] to be "-c" argv[2] to be "(display \"foo\")" scm_get_meta_args () to return 0 and hence not to execute the "if (new_argv)" block of code. Can you check those points? Regards, Neil