crossgcc for mips-redhat-linux-gnu
Dan Kegel
dank@kegel.com
Wed Mar 17 02:23:00 GMT 2004
Chris Jones wrote:
> I have a working x86 -> mipsel cross compile environment running
> thanks to Dan Kegel's crosstool script.
>
> I was wondering if anyone has experience trying to cross-compile Redhat
> src RPMs.
>
> I have been trying to do the following without much luck:
>
> rpmbuild --rebuild --target=mips-linux-gnu ./x.src.rpm
>
> It seems that the --target flag isn't used properly when ./configure is
> called. Therefore we don't cross-compile.
>
> Am I missing something from my set-up or does --target parameter in
> rpmbuild not actually do what I think it does?
I wouldn't be surprised if most packages needed a bit
of rework in their .spec files before the --target
flag worked. You may want to fix one, send a patch
to the upstream maintainer, and see what they say...
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list