public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ned Ludd <solar@gentoo.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
Date: Mon, 15 Jun 2009 06:38:36 -0700	[thread overview]
Message-ID: <1245073116.6133.10.camel@localhost> (raw)
In-Reply-To: <4A364061.6010807@toth.org.uk>

On Mon, 2009-06-15 at 13:36 +0100, Stephen Feyrer wrote:
> Well on the plus side it produced a full set of healthy little bouncing
> binaries.  Except that they were X86_64 binaries and not arm!
> 
> Which puts me back at square one.
> 
> 
> 
> Stephen Feyrer wrote:
> > Sorry Make went okay as well.  I just excepted it to stop with a nice
> > little message like meerge I guess.
> > 
> > Stephen Feyrer wrote:
> >> Sven Rebhan wrote:
> >>> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling
> >>>
> >>>
> >>>
> >> Thanks.
> >>
> >> It seems that:
> >>
> >> ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
> >> host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi
> >>
> >> will run the configure without any deviation, hesitation or throwing all
> >> of its toys out!
> >>
> >> The Configure --help has this to say on the subject of cross compiling.
> >>
> >> System types:
> >>   --build=BUILD  configure for building on BUILD [guessed]
> >>   --host=HOST    cross-compile to build programs to run on HOST [BUILD]
> >>
> >>
> >>
> >> I'm now happily having make problems.
> >>
> >>
> >> I am very grateful to everyone for helping me.

It took a bit of head banging last nite, but I found I had to set all of
the following. It would still fail for me trying to link in some
-lrpcsvc which I did not figure out what provided it.
but should give you a start. You will want to double check these are
legit conf cache values for the platform you are dealing with also.

Good luck.

EXTRA_ECONF=--with-notify=none \
	i_cv_epoll_works=yes i_cv_posix_fallocate_works=no \
	ignore_signed_size=1 i_cv_signed_size_t=no \
	i_cv_gmtime_max_time_t=31 \
	i_cv_signed_time_t=yes \
	i_cv_mmap_plays_with_write=yes \
	i_cv_fd_passing=yes \
	lib_cv_va_copy=yes i_cv_c99_vsnprintf=yes \
	lib_cv___va_copy=no va_copy_func=va_copy \
        lib_cv_va_val_copy=yes \
	ACCEPT_KEYWORDS="arm ~arm ~amd64" \
	${CHOST}-emerge -v1 dovecot --root-deps=rdeps "$@"




  reply	other threads:[~2009-06-15 13:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-14 22:39 [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Stephen Feyrer
2009-06-15  7:08 ` Sven Rebhan
2009-06-15  8:56   ` Stephen Feyrer
2009-06-15  9:05     ` Sven Rebhan
2009-06-15  9:35     ` Stephen Feyrer
2009-06-15  9:50       ` Christoph Spielmann
2009-06-15 10:20         ` Stephen Feyrer
2009-06-15 11:14           ` Sven Rebhan
2009-06-15 11:58             ` Stephen Feyrer
2009-06-15 12:15               ` Stephen Feyrer
2009-06-15 12:36                 ` Stephen Feyrer
2009-06-15 13:38                   ` Ned Ludd [this message]
2009-07-20 23:00 ` Stephen Feyrer

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=1245073116.6133.10.camel@localhost \
    --to=solar@gentoo.org \
    --cc=gentoo-embedded@lists.gentoo.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