public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ralf Corsepius <ralf.corsepius@rtems.org>
To: Jie Liu <lj8175@gmail.com>
Cc: java-patches@gcc.gnu.org, java@gcc.gnu.org,
	gcc-patches@gcc.gnu.org,
	 Joel Sherrill <joel.sherrill@oarcorp.com>
Subject: Re: [PATCH] [JAVA] patch for Java on RTEMS
Date: Fri, 26 Aug 2011 13:33:00 -0000	[thread overview]
Message-ID: <4E57A08C.1070304@rtems.org> (raw)
In-Reply-To: <CABc96T9=e5RvYQCtm7wW1QpzbBxtQeASELMQmz3_3=ws8nfDyg@mail.gmail.com>

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 <sys/unistd.h>

Why sys/unistd.h?

sys/unistd.h is not supposed to be accessed directly.
This likely should be a plain simple "#include <unistd.h>"

Ralf

  reply	other threads:[~2011-08-26 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 17:00 Jie Liu
2011-08-14 13:04 ` Jie Liu
2011-08-26 13:33   ` Ralf Corsepius [this message]
2011-08-15  9:43 ` Andrew Haley
2011-08-15 14:07   ` Jie Liu
2011-08-15 14:11     ` Andrew Haley
2011-08-26 13:20     ` Ralf Wildenhues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E57A08C.1070304@rtems.org \
    --to=ralf.corsepius@rtems.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    --cc=java@gcc.gnu.org \
    --cc=joel.sherrill@oarcorp.com \
    --cc=lj8175@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).