From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14363 invoked by alias); 19 Nov 2001 21:17:22 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 14349 invoked from network); 19 Nov 2001 21:17:22 -0000 Date: Tue, 13 Nov 2001 13:12:00 -0000 From: Cristiano Ligieri Pereira To: "J. Johnston" cc: Ben Elliston , sid@sources.redhat.com Subject: Re: Running the hello.c example In-Reply-To: <3BF9561B.4384B76B@cygnus.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-q4/txt/msg00021.txt.bz2 Hi folks, I hadn't modified the file but I was using newlib-1.8.0, which not even has the options you were talking about. I recompiled newlib, but now with version 1.9.0 and it worked pretty well. Now I can go forward and try out more complex stuff. Thanks for you help, Cristiano. ------------------------------------------------------------ Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira > Christiano, > > You likely have built newlib incorrectly. See newlib/configure.host. The > default > is to define ARM_RDI_MONITOR which activates the Angel code. > > # newlib_cflags="${newlib_cflags} -DARM_RDP_MONITOR" > newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" > ;; > > This means that instead of the SWI codes you are quoting above, you will get the > AngelSWI_Reason_xxx codes which follow. The value for write is 0x5 which > matches > what sid is expecting. > > You should verify that you have not changed these lines and if so, you should > clean your newlib build and reconfigure/build again. > > -- Jeff J. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristiano Ligieri Pereira To: "J. Johnston" Cc: Ben Elliston , sid@sources.redhat.com Subject: Re: Running the hello.c example Date: Mon, 19 Nov 2001 13:17:00 -0000 Message-ID: References: <3BF9561B.4384B76B@cygnus.com> X-SW-Source: 2001-q4/msg00038.html Message-ID: <20011119131700.1I0rYaxinqYCMgu78vyvoOGef5IZxuML-l4Cvi2VMBE@z> Hi folks, I hadn't modified the file but I was using newlib-1.8.0, which not even has the options you were talking about. I recompiled newlib, but now with version 1.9.0 and it worked pretty well. Now I can go forward and try out more complex stuff. Thanks for you help, Cristiano. ------------------------------------------------------------ Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira > Christiano, > > You likely have built newlib incorrectly. See newlib/configure.host. The > default > is to define ARM_RDI_MONITOR which activates the Angel code. > > # newlib_cflags="${newlib_cflags} -DARM_RDP_MONITOR" > newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" > ;; > > This means that instead of the SWI codes you are quoting above, you will get the > AngelSWI_Reason_xxx codes which follow. The value for write is 0x5 which > matches > what sid is expecting. > > You should verify that you have not changed these lines and if so, you should > clean your newlib build and reconfigure/build again. > > -- Jeff J.