This is the mail archive of the 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]

crossgcc for mips-redhat-linux-gnu

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.



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
+ ./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                                   50 - 1055 W 14th St
604-987-8866 x300                                  North Vancouver, BC V7P 3P2 

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]