This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |