Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to build netbsd with pcc?

On Sun 22 May 2011 at 14:57:32 +0100, Iain Hibbert wrote:
> Hm, ok.. I see it also on i386-current with a clean tools dir. It seems
> to be that the following happens when using -j1

Interesting bug. A few weeks ago I just switched from -j3 (on my
dual-cpu laptop) to no -j option, because of another bug that only
manifested with -j (mail with subject "X source build problem with -j
3") and which apparently affected nobody else.

> that should get you a useable /usr/bin/pcc which make will use if you
> supply CC=pcc, and/or if you remove the /var/obj/tools/pcc directory and
> rebuild tools with -V HAVE_PCC= then you get a tool version.

Would mixing and matching work, say if I haven't built pcc yet, that it
will use gcc as a host tool compiler and build pcc as a cross compiler?
(Well, I'll find that out automatically - I'll just try it before
updating pcc sources itself)

> iain
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/    -- can't be childish sometimes. -The 4th Doctor

Home | Main Index | Thread Index | Old Index