[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross compiling -- building programs to run on build system
From: |
Stewart Brodie |
Subject: |
Re: cross compiling -- building programs to run on build system |
Date: |
Tue, 08 Oct 2002 13:47:45 +0100 |
User-agent: |
Messenger-Pro/2.59beta2 (Newsbase/0.61b) (RISC-OS/4.00-Ursula002f) |
In message <address@hidden>
Andreas Schwab <address@hidden> wrote:
> Stewart Brodie <address@hidden> writes:
>
> |> This is the approach that I have taken:
> |>
> |> AC_MSG_NOTICE([configuring the tools for *native* builds])
> |> cd tools && \
> |> ./configure --build=$build_alias --host=$build_alias --target=$host_alias
>
> Note that this does not work if $srcdir != $builddir.
Indeed not. This was a c+p problem, because I removed other things that did
need to be in $(top_srcdir)/tools first :-) Presumably I should have:
cd $(top_builddir)/tools && $(top_srcdir)/tools/configure ...
--
Stewart Brodie, Senior Software Engineer | ACCU Committee Member
Pace Micro Technology PLC | http://www.accu.org
Cambridge, CB5 8PB, United Kingdom |
http://www.pace.co.uk |