<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6001.18099" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>I am sure I have seen the answer to this before,
but I can't find it in the mail archives.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to build 4.8.1 arm toolchain on
FreeBSD. binutils built fine, but when I try to build gcc from
gcc-core-4.2.2 with gcc-core-4.2.2-rtems4.8-20071127.diff applied.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Newlib is newlib-1.15.0 with
newlib-1.15-rtems4.8-20071221.diff applied</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My config line was </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>../gcc-4.2.2/configure --target=arm-rtems
--with-gnu-as --with-gnu-ld --with-newlib --verbose --enable-threads
--enable-languages="c" --prefix=/usr/local/RTEMS</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>During the make all phase, we get:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In file included from
../../../../../../gcc-4.2.2/newlib/libc/libc/search/hash.c:57</FONT></DIV>
<DIV><FONT face=Arial
size=2>../../../../../../gcc-4.2.2/newlib/libc/libc/search/hash.h:44:2: #error
BYTE_ORDER not defined by sys/param.h</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Suggestions? Is there a later patch I need to
be using?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>*********************************************************************************<BR>Important
Note<BR>This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not the
intended recipient you must not use, distribute or copy this email. If you
have received this email in error please notify the sender immediately and
delete this email.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Any views expressed in this email are not
necessarily the views of Emergent Technology.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Please consider the environment before you print
this email</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thank
you.<BR>**********************************************************************************<BR></FONT></DIV></BODY></HTML>