This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

RE: Problem building binutils


Just a note of thanks to Dave and Mumit, and to those who've emailed 
privately.  You've been a great help.

> Hi,
> 
[...I got bintuils to build...]
> 
> Great. Binutils should be the easy bit. Getting EGCS to build is usually
> the harder step.

Indeed, bintutils was the easy bit...

[...should I use the GCC I downloaded or get egcs?...]
> gcc-2.8.x is bad news for embedded cross-compilers. EGCS does a much
> better job and is the standard compiler for both RTEMS and eCos real-time
> operating systems.

OK, I took the plunge and downloaded egcs 1.1.2 (It took three tries. 
The first two dies after 9 and 10 MB (out of 11 MB) respectively, but 
the third time's the charm!).

I looked at Mumit's patches, but haven't applied them yet, mainly 
because I dreaded re-writing the patched files with Unix EOL.  I 
followed Dave's suggestions for building egcs 1.1.1 (except I have 
1.1.2, and newlib 1.8.1).  Configure seemed to work, and "make cross" 
ran for about 20 minutes, then died because of a compile failure.  It 
looks like configure generated a .h file with mismatched parentheses.

I haven't looked further into it because this is an after-hours 
project, and there aren't too many "hours after" lately.  When I get 
a few, I'll see if I can't figure out what's going on here.  Perhaps 
I just need to apply Mumit's patches.  I'll keep you updated.  

Thanks again for the help.

					-=Dave
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.