tech-pkg archive

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

Re: compiler selection still



I am pondering how to deal with a platform that does not have a C compiler in base at all. (ChromeOS in case you were wondering)

I did the initial bootstrap with a C compiler from another package coming collection but I would like to arrive at a situation where only pkgsrc is needed. I suppose a bootstrap kit containing a preinstalled GCC would be the way to go?
Greg Troxel <gdt%lexort.com@localhost> schrieb am Sa. 30. Dez. 2017 um 02:45:

I updated the wiki page:

  https://wiki.netbsd.org/pkgsrc/gcc/

The tl;dr is that I would like to head for

  reduce dependencies of gcc when it doesn't hurt (specifically, enable
  gcc-inplace-math by default on 4.8 and 4.9), even if this won't help a
  lot.

  allow C/C++ versions to differ, realizing that this may be a bad idea,
  in which case we won't.

  choose gcc5 as the C++ version for netbsd-7, because 4.8 is too old.

  Don't use a separate prefix for the bootstrap compiler, and pass a "we
  are bootstrapping" variable recursively, and omit compiler selection
  logic.  Take a don't-worry-be-happy approach to consistency issues
  from that, and deal with them if they are troublesome.

I think we have a volunteer to produce a patch.  Please have a look at
the wiki page and either weigh in on listed alternatives or suggest new
ones if you think it's broken.

I really want to get this in during Q1; now even NetBSD 7 is having
trouble.


Home | Main Index | Thread Index | Old Index