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? Output follows. Thanks, Chris Building target platforms: mips-linux Building for target mips-linux Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.84947 + umask 022 + cd /home/cjones/rpm/BUILD + cd /home/cjones/rpm/BUILD <SNIP> + ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=mips-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/usr/var --sharedstatedir=/usr/com --mandir=/usr/man --infodir=/usr/info --libdir=/lib --libexecdir=/usr/lib checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o ... -- Software Developer QWorks www.qworks.ca cjones@qworks.ca 50 - 1055 W 14th St 604-987-8866 x300 North Vancouver, BC V7P 3P2 ------ 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] |