On 2012-05-17, at 8:55 PM, Finn Thain wrote:

> 
> On Thu, 17 May 2012, Vaugha Brewchuk wrote:
> 
>> 
>> ... And hence my question: has anyone successfully bootstrapped 
>> gcc-4.6.3 on m68k?
> 
> No, I've never bootstrapped gcc on m68k, but I've seen ICEs with cross 
> compilers over the years.
> 
>> 
>> ... I also wonder whether perhaps a different gcc-4 version is a better 
>> starting point for the NeXT?
> 
> For m68k-linux, gcc 3.3 was basically free of ICEs as I recall. (I can't 
> tell from your email whether it was 4.6 or 3.2 that ICE'd.

I am sorry if the post was not clear enough.  My 3.2.3 build appears to be just 
fine and I have been using it for many months now.  It does fail many of the 
tests, but nonetheless seems to generate good code.  The ICE was caused by the 
first stage binary of 4.6.3 while building libgcc.

> So you might have more luck building gcc 3.3 using your gcc 3.2 compiler, 
> and then building 4.x using 3.3.
> 
> You may end up building 4.6 using 4.4 (which is how Debian did it).
> 
> Finn

I will try a few things suggested by Thorsten, one at a time.  If that does not 
work out I will try an interim build.

The biggest challenge on the NeXT is that the libraries are approx. 20 years 
old.  What is there of POSIX, is very broken, and many of the standard c 
library functions are completely obsolete.  So even once a compile is built and 
works well, many tests tend to fail.

Thank you for your suggestions!

--
To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/238056f1-e9df-463f-8d38-7c417b4e9...@yahoo.ca

Reply via email to