All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <bwarren@qstreams.com>
To: Jeff Parent <jeff.parent@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: PowerPC Cross Compiler's Arch doesnt match
Date: Tue, 08 Jan 2008 19:39:12 -0500	[thread overview]
Message-ID: <478417B0.5030705@qstreams.com> (raw)
In-Reply-To: <464e946e0801081339o2585362ci5b209154a8526089@mail.gmail.com>

Hi Jeff,

Jeff Parent wrote:
> I'm building a linux distro for work, that runs on embedded systems 
> with either and ARM 9 or a PowerPC 603.  I've had great luck building 
> a cross compiler w/ crosstools and using them in the compiler jail 
> created by Scratchbox.  Now I am working on porting all my work to the 
> PowerPC.  When I build the cross compilers I have selected GCC-4.0.1 
> and GLIBC-2.3.5 for both setups.  I create my jail in Scratchbox for 
> the PowerPC and try compiling any of the GNU applications and when 
> running the configure script I get:
>
I have no idea what Scratchbox is, but when running gnu configure to 
cross-compile something, you typically need to supply the following 
switches:

--host=powerpc-linux --build=i686

and CC will have to point to your cross compiler (e.g. export 
CC=powerpc-linux-gcc, or export CC=ppc_6xx-gcc, whatever your cross 
compiler is called).  Of course, the values of these switches will 
depend on your setup, but this is what I use and I've built all sorts of 
packages from source.

regards,
Ben

      reply	other threads:[~2008-01-09  0:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 21:39 PowerPC Cross Compiler's Arch doesnt match Jeff Parent
2008-01-09  0:39 ` Ben Warren [this message]

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=478417B0.5030705@qstreams.com \
    --to=bwarren@qstreams.com \
    --cc=jeff.parent@gmail.com \
    --cc=linuxppc-embedded@ozlabs.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 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.