collect2 & porting [was Re: config/mips/x-mips -lmld and linux [bug] ]

Robert Lipe robertl@dgii.com
Sun Dec 6 23:24:00 GMT 1998


> >> egcs-1.1.1 is misdefining CLIB in gcc/Makefile when doing a make
> >> bootstrap on mips-unknown-linux-gnu.  
> >When I first looked at it last week, I came to the conclusion that MIPS
> >support in EGCS for Linux was a hoax.  You could probably graft this
> 
> humm, the gcc-2.7.2 patch from ftp.linux.sgi.com has a bit more

I don't recall you mentioning this patch was in use.   Please accurately
describe what you're working with when reporting problems.

That patch, as I understand it from people I respect, isn't part of the 
EGCS distribution becuase the proper copyright transfers were never done.

> So, i can get it to build ok now.  But, it fails miserably when trying
> to compile collect2.  If i just comment out all of the collect stuff in
> the makefiles, it completes the make bootstrap.  

My recollection was that I had to explictly #undef OBJECT_FORMAT_COFF 
to make collect2 build.   But since I didn't start from teh same place
you did, I don't know if that's right in your case.

> thanks.  i'll send a patch that cleans up mips-gnuelf support as soon as
> i sort out this collect2 stuff.

You'll have to be careful that any patch you submit isn't "contaminated"
by including stuff that you don't own that doesn't already have paperwork
on file with the FSF.

Good luck.

RJL



More information about the Gcc-patches mailing list