Re: PATCH (revised) for gcc34 (for building ports)

看板DFBSD_submit作者時間20年前 (2005/04/16 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
Matthew Dillon wrote: > I was kinda hoping to keep gcc3 freebsd-clean. Is there any way to > do this in the ports build make files instead of in gcc3? Well, seems that my patch doesn't work as well as I expected anyway. I've been getting linker errors while building several different ports. Smells like a libtool problem, but I'm still not sure. However! I tried installing gcc34 from the ports collection which has now compiled all three of the ports that failed on the system gcc34. I don't know why one works and the other doesn't, but it seems to be a very practical way of leaving the system compiler untouched. If anyone wants to try it you need only one tiny patch for gcc34: there is one place you need to substitute <sys/types.h> for <machine/ansi.h> but other than that it Just Works. Remains to be seen whether the gcc34 port will survive the upcoming libc upgrade.
文章代碼(AID): #12O9mM00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #12O9mM00 (DFBSD_submit)