Re: ISO image: where is the CLANG compiler?

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 19 Jan 2017 06:58:16 +0100
El día Wednesday, January 18, 2017 a las 08:00:04PM -0500, Allan Jude escribió:

> On 2017-01-18 14:37, O. Hartmann wrote:
> > Am Wed, 18 Jan 2017 16:38:32 +0100
> > Matthias Apitz <guru_at_unixarea.de> schrieb:
> > 
> >> Why you do not just boot from USB some mem stick image, mount some disk
> >> space to /mnt, svn checkout CURRENT to /mnt and build a booteable system
> >> (world and kernel) and install to DESTDIR=/mnt ?
> >>
> >> I do not understand all this hassle?
> >>
> >> 	matthias
> >>
> > 
> > Wow!
> > 
> > As I initially stated, that is EXACTLY what I was inclined to do except the fact that I
> > had already an intact /usr/obj and usr/src with a complete compiled system.
> > 
> > I booted from mem stick and I was lost due to no cc!
> > 
> > Even for "make installworld" it seems I have to rely on the compiler. And the images
> > (ISO, memstick et cetera) provided these days do not contain any clang.

Yes, you will need it and it will complain about missing it, if for
example you moved 'obj and 'src' to other dirs after 'make build...'

But, in your case the mem image really is lacking the cc/clang; I
fetched the image an did:


# mdconfig -a -t vnode -u 1 -f ~guru/Downloads/FreeBSD-11.0-RELEASE-amd64-memstick.img
# mount -o ro /dev/md1p3 /mnt
# find /mnt -name clang
/mnt/usr/share/doc/llvm/clang
/mnt/usr/lib/clang
/mnt/usr/lib/debug/usr/lib/clang
# find /mnt -name cc
/mnt/usr/include/netinet/cc

With this img  alone, you can't compile a system :-(

Setup a system from DVD and build your own image containing a complete
system on an USB key; with this boot your damaged system, recompile and
reinstall world and kernel. If you (O. Hartmann) need a step by step
guide, I could send it to you.

	matthias

-- 
Matthias Apitz, ✉ guru_at_unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
"Wo ist der antiimperialistische Schutzwall, wenn man ihn braucht? US-Panzertransport durch ex-DDR"
"Where is the anti-imperialistic  wall, if it's needed? Transport of US-tanks through the ex-GDR"
https://deutsch.rt.com/kurzclips/45282-us-panzertransporte-durch-ex-ddr/
Received on Thu Jan 19 2017 - 04:58:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC