From mboxrd@z Thu Jan 1 00:00:00 1970 From: Udi Finkelstein Date: Thu, 18 Aug 2005 22:54:33 +0300 Subject: [U-Boot-Users] Re: MIPS LE build problems In-Reply-To: <1124356104.13487.12.camel@localhost.localdomain> References: <20050818085144.CCC86353CE9@atlas.denx.de> <1124356104.13487.12.camel@localhost.localdomain> Message-ID: <4304E779.3000400@udif.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Matej Kupljen wrote: >Hi > > > >>>How about if the config.mk runs a little test program, like >>>configure does? >>> >>> >>If you want to _run_ the test program you have to use the host >>compiler, which is not interesting. And when you use the cross >>compiler which you want to test then you cannot run the test program >>on the development host. >> >> > >Right! >My BIG mistake. Still searching and checking :-( > > You can try http://www.scratchbox.org/ This should allow you to use autoconf style configuration (./configure) on embedded targets and cross compilation environment by either running the configuration script under a QEmu simulated environment, or by an actual target board connected to the host. Udi