Current-Users archive

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

How to build netbsd with pcc?



I saw a commit aimed at making compiler selection more general, so I
thought I'd try to do a build with pcc. Naively, I set HAVE_PCC=yes in
/etc/mk.conf, and MKPCC=yes and MKPCCCMDS=yes, as I saw on the NetBSD
blog.

Amazingly, that does go through some motions to build pcc
instead of gcc, but then it stops very disappointingly here:

dependall ===> tools/pcc
[configure output]
[compiles external/bsd/pcc/dist/pcc/cc/cc/cc.c to x86_64--netbsd-pcc]
install ===> tools/pcc
[installs x86_64--netbsd-pcc]
/home/rhialto/tmp/tools.amd64/bin/x86_64--netbsd-install -c -p -r 
x86_64--netbsd-cpp /home/rhialto/tmp/tools.amd64/libexec 
x86_64--netbsd-install: x86_64--netbsd-cpp: stat: No such file or directory

*** Failed target:  install
*** Failed command:
/home/rhialto/tmp/tools.amd64/bin/x86_64--netbsd-install -c -p -r 
x86_64--netbsd-cpp /home/rhialto/tmp/tools.amd64/libexec
*** Error code 1

Stop.
nbmake: stopped in /home/rhialto/tmp/obj.amd64/tools/pcc/build/cc/cpp

...


What am I missing? I removed my obj and destdirs but not the tooldir.

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


Home | Main Index | Thread Index | Old Index