non port: base/gcc/pkg-plist |
Number of commits found: 5 |
Saturday, 21 Dec 2019
|
01:13 jhb
Update base/gcc to work with devel/freebsd-gcc6.
- Explicitly set all the toolchain <foo>_FOR_TARGET variables.
GCC's default guess for CC, etc. happened to work with the
powerpc64-gcc port, but fails when the binaries have a suffix
like the '6' suffix in freebsd-gcc6. Setting these variables
explicitly keeps GCC's build from having to guess.
- Pull patches from freebsd6-gcc instead of powerpc64-gcc.
- Use per-arch plists.
- Simplify the post-install steps to keep the hard links the
normal install performs and avoid renaming binaries.
Keep links to 'cc' and 'c++'.
Reviewed by: bapt (earlier version)
Differential Revision: https://reviews.freebsd.org/D22594
 |
Thursday, 26 Jul 2018
|
22:25 jhb
Add support for amd64 and i386 to base/binutils and base/gcc.
- To support amd64, map amd64 to x86_64 when generating the --host argument
to configure in bsd.port.mk and when generating --target arguments in port
Makefiles.
- Add entries to the plists for i386 and amd64. amd64 generally includes both
amd64-specific entries as well as i386 entries.
- Don't include the builtin float.h for i386 and amd64.
Reviewed by: bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D16250
 |
Wednesday, 9 May 2018
|
15:18 jhb
Add 32-bit mips support to base/binutils and base/gcc.
- When cross-building packages, set ARCH to the target arch instead of
the arch of the build host. This fixes bsd.ssp.mk on MIPS which was
trying to enable SSP on MIPS cross-built packages because the host
ARCH was amd64. A new HOST_ARCH variable is added to set the
--build triple for configure scripts, but I believe most other uses of
ARCH in ports are really about the target, not the build host so this
is the more correct general direction.
- Some updates to base/binutils and base/gcc to use ARCH as the target
architecture.
- Drop the extra arguments to GCC to set include and library paths and
only set --sysroot.
- Move the --sysroot flags into CC, CXX, CPP (which is now set to XCPP)
and LD instead of passing it in CFLAGS, etc. The base/gcc build uses
ends up using the CFLAGS when building native binaries for the build
host which fails when tripping over the --sysroot. I think this might
have accidentally worked before because the powerpc64 headers in
/usr/include/machine were "close enough" to the amd64 headers, but with
32-bit MIPS this failed hard.
- Add the GCC MIPS patch from devel/powerpc64-gcc to base/gcc to add
MIPS support to base/gcc.
- Add a MIPS plist for base/binutils.
- Set helper variables for the base/gcc plist to tag architecture-specific
headers (e.g. for intrinsincs) and use these to tag powerpc and MIPS
specific headers.
- Drop the include-fixed headers from base/gcc.
- Strip /usr/local/include from the default list of include paths for
base/gcc.
- Use libc++'s include path for C++ for base/gcc.
Reviewed by: bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D15267
 |
Tuesday, 6 Feb 2018
|
14:26 swills
Changes from BZ PR 224217 plus minor changes to fix base/gcc fetch
 |
Thursday, 8 Sep 2016
|
20:55 bapt
New cross build ready version of gcc.
This port is special, it is done only for being cross build and prepare a modern
compiler for base system build without a cross compiler
It contains the printf format extension needed for the kernel as only patch for
now.
It uses libc++ from base as a standard c++ library default on the libc++ headers
as c++ headers
 |
Number of commits found: 5 |