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]

Re: iWMMXt Linux EABI cross toolchain


--- Mike Frysinger <vapier@gentoo.org> wrote:

> On Thursday 02 March 2006 11:42, Steven Newbury wrote:
> > The first pass is ok.  I've built a stage1 compiler, it's the second gcc
> > pass that's needing/missing crti.o.
> 
> got it ... i have to admit, i kind of skimmed your first e-mail so i missed 
> you had a first pass compiler
> 
> in order to build the second pass, you need a fully working libc ... and it 
> will provide the crt[io1].o objects
> 
> general order of operations:
> binutils
> linux headers / libc headers
> stage1 gcc (static C-only)
> libc
> stage2 gcc (shared C/C++)
> -mike
> 
OK I think I might have solved this.  The toolchain.eclass script was enabling
all languages when the glibc headers are present rather than when glibc has
been built.  When the configure script detects that c++ is a selected language
it adds -shared-libgcc to the xgcc CFLAGS!


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]