From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1koP-0005bx-8h for qemu-devel@nongnu.org; Sun, 16 Nov 2008 11:49:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1koM-0005bl-NL for qemu-devel@nongnu.org; Sun, 16 Nov 2008 11:49:23 -0500 Received: from [199.232.76.173] (port=54263 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1koM-0005bi-Jy for qemu-devel@nongnu.org; Sun, 16 Nov 2008 11:49:22 -0500 Received: from mail.codesourcery.com ([65.74.133.4]:42602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L1koM-0001NN-EA for qemu-devel@nongnu.org; Sun, 16 Nov 2008 11:49:22 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] ARM CPSR and conditional instructions - revisited Date: Sun, 16 Nov 2008 16:49:17 +0000 References: <6a7a0afe4f.simonwillcocks@home.invalid> <200811141248.31086.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811161649.17521.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Simon Willcocks > 2. How do I compile my simple test program? > > This used to be good enough: > > gcc flags_test1.c -o flags_test1 qemu-0.9.1/arm-linux-user/libqemu.a \ > -I qemu-0.9.1 -DNEED_CPU_H -Iqemu-0.9.1/fpu -I > qemu-0.9.1/arm-linux-user/ \ -Wall qemu-0.9.1/osdep.c -I > qemu-0.9.1/target-arm/ -D_XOPEN_SOURCE=600 > > But now libqemu.a seems to need a lot of features from other places that I > can't easily identify. Don't do that. libqemu has never really been usable as a standaline library. Paul