Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Adjusting staging for gcc >= 4.3.0
Date: Sat, 5 Apr 2008 18:30:26 +0200	[thread overview]
Message-ID: <20080405163026.GA22334@deadlock.dhs.org> (raw)
In-Reply-To: <4327AE2D-6FA1-4BFE-BA07-059B0FC09BBE@student.utwente.nl>


Hi Koen,
   
On Sat, Apr 05, 2008 at 05:22:50PM +0200, Koen Kooi wrote:
> In order to build glibc with gcc 4.3.0 I needed to do:
> 
> ln -sf /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.3.0/ 
> include-fixed/* /OE/angstrom-tmp/cross/lib/gcc/arm-angstrom-linux- 
> gnueabi/4.3.0/include/
> 
> The question I have is:
> 
> Should be do this symlinking in the recipe or find a way to add  
> include-fixed to the includepath?

I do not know what the correct way is, but the uclinux people do it via the
includes, that's from the Rules.mak of their uClibc:

C_SYSTEM_INCLUDE :=$(shell $(CC) -print-file-name=include || echo)
CFLAGS+= -isystem $(C_SYSTEM_INCLUDE) -isystem $(C_SYSTEM_INCLUDE)-fixed

I hope that info helps.

Kind regards,
Jin




  reply	other threads:[~2008-04-05 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05 15:22 Adjusting staging for gcc >= 4.3.0 Koen Kooi
2008-04-05 16:30 ` Sergey 'Jin' Bostandzhyan [this message]
2008-04-05 16:30 ` Khem Raj

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=20080405163026.GA22334@deadlock.dhs.org \
    --to=jin@mediatomb.cc \
    --cc=openembedded-devel@lists.openembedded.org \
    /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