From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32193 invoked by alias); 26 Aug 2011 13:33:21 -0000 Received: (qmail 32172 invoked by uid 22791); 26 Aug 2011 13:33:20 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_GC X-Spam-Check-By: sourceware.org Received: from mout1.freenet.de (HELO mout1.freenet.de) (195.4.92.91) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Aug 2011 13:33:06 +0000 Received: from [195.4.92.23] (helo=13.mx.freenet.de) by mout1.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.76 #5) id 1QwwWs-0006T3-IN; Fri, 26 Aug 2011 15:33:02 +0200 Received: from hsi-kbw-109-193-024-246.hsi7.kabel-badenwuerttemberg.de ([109.193.24.246]:63235 helo=[192.168.1.104]) by 13.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:CAMELLIA256-SHA:256) (port 587) (Exim 4.76 #5) id 1QwwWs-00051t-9F; Fri, 26 Aug 2011 15:33:02 +0200 Message-ID: <4E57A08C.1070304@rtems.org> Date: Fri, 26 Aug 2011 13:33:00 -0000 From: Ralf Corsepius User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11 MIME-Version: 1.0 To: Jie Liu CC: java-patches@gcc.gnu.org, java@gcc.gnu.org, gcc-patches@gcc.gnu.org, Joel Sherrill Subject: Re: [PATCH] [JAVA] patch for Java on RTEMS References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00010.txt.bz2 On 08/14/2011 03:03 PM, Jie Liu wrote: > Hi, > > I have add the boehm-gc patch and the configure for gcc patch to the > patch attached. So we can add this patch and then compile gcj for > RTEMS. > > Best Regards, > Jie --- boehm-gc/include/private/gcconfig.h (revision 172224) +++ boehm-gc/include/private/gcconfig.h (working copy) .. @@ -1297,6 +1302,19 @@ # define STACKBOTTOM ((ptr_t)0xc0000000) # define DATAEND /* not needed */ # endif +# ifdef RTEMS +# define OS_TYPE "RTEMS" +# include Why sys/unistd.h? sys/unistd.h is not supposed to be accessed directly. This likely should be a plain simple "#include " Ralf