All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Kinar <n.kinar@usask.ca>
To: buildroot@busybox.net
Subject: [Buildroot] Updated status on the compilation of busybox on Mac OS X
Date: Wed, 02 Dec 2009 09:57:28 -0600	[thread overview]
Message-ID: <4B168E68.1060003@usask.ca> (raw)
In-Reply-To: <4B15C71D.8020106@usask.ca>

In buildroot, how do I set the host system for the configuration of 
gcc?  This is trivial for a command-line compile of gcc, but how would I 
do this within Buildroot, so that the appropriate options are passed to 
./configure for gcc?

Perhaps changing this would allow for gcc to more properly compile.


> Peter - you are right about this.  I modified the Buildroot .config to 
> so that BR2_ENABLE_LOCALE=no, and the build process continues on Mac 
> OS X.  However, I then encountered another error.  Apparently the gcc 
> makefile believes that the host is Linux, so host-linux.c is being 
> compiled instead of host-darwin.c.
>
> Here's the output of the most recent error:
>
>
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c: 
> In function 'linux_gt_pch_use_address':
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: ?MAP_ANONYMOUS? undeclared (first use in this function)
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: (Each undeclared identifier is reported only once
> /Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-avr32-1.1.3/gcc/config/host-linux.c:194: 
> error: for each function it appears in.)
> make[2]: *** [host-linux.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all-gcc] Error 2
> make: *** 
> [/Users/nkinar/Desktop/buildroot-1/buildroot-2009.11/output/toolchain/gcc-4.2.2-initial/.compiled] 
> Error
>

  reply	other threads:[~2009-12-02 15:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-29  1:39 [Buildroot] Updated status on the compilation of busybox on Mac OS X Nicholas Kinar
2009-11-29  8:46 ` Peter Korsgaard
2009-11-29 14:47   ` Nicholas Kinar
2009-11-29 18:37     ` Peter Korsgaard
2009-11-29 20:31       ` Nicholas Kinar
2009-12-01 13:48       ` Thomas Petazzoni
2009-12-01 15:21         ` Nicholas Kinar
2009-12-01 15:34           ` Peter Korsgaard
2009-12-02  1:47             ` Nicholas Kinar
2009-12-02 15:57               ` Nicholas Kinar [this message]
2009-12-02 15:59                 ` Austin Foxley
2009-12-02 22:47                   ` Nicholas Kinar
2009-12-02 18:40                 ` Peter Korsgaard
2009-12-02 22:48                   ` Nicholas Kinar
2009-12-02 22:55                     ` Nicholas Kinar
2009-12-03  8:30                       ` Peter Korsgaard
2009-12-03 14:54                         ` Nicholas Kinar

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=4B168E68.1060003@usask.ca \
    --to=n.kinar@usask.ca \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.