This is the mail archive of the crossgcc@sourceware.org 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]

iWMMXt Linux EABI cross toolchain


Hello!
I'm trying to build a cross toolchain for iWMMXt Linux EABI off of GCC CVS
HEAD.  After having a discussion on gcc@gnu.org I have come to understand I
should be targeting arm-*-linux-gnueabi and using --with-cpu=iwmmxt
--with-arch=iwmmxt and optionally --with-abi=iwmmxt.  Originally I tried adding
a new xscale-*-linux-gnueabi to the toolchain but after running into
difficulties I was advised to do as above.

I have now sucessfully built a stage1 cross-compiler targeting iWMMXt Linux,
however I'm now failing at linking libgcc on the subsequent gcc stage.  I was
informed that gcc@gnu.org was not the right place given I must be missing
something obvious with building such a toolchain and was advised to bring it
here.

The linking of libgcc fails as below:

... ind-c_s.o -lc && rm -f ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv
-f ./libgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv
./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s libgcc_s.so.1 ./libgcc_s.so
/usr/arm-iwmmxt-linux-gnueabi/bin/ld: crti.o: No such file: No such file or
directory
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1

>From what I can tell this is an error in the selection of machine config
headers, any pointers?  I have only just begun to dig into GCC internals so any
help would be appreciated.


Steve


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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