Commit graph

9 commits

Author SHA1 Message Date
adam
7de9856d9f Fixed building on Darwin; pkglint cosmetics 2013-02-05 07:12:23 +00:00
sbd
b27c156efe Always use dlopen and pthread. 2012-08-20 07:22:09 +00:00
marino
ea33efa679 lang/gcc47: Add support for DragonFly
GCC47 was marked NOT-FOR-DRAGONFLY, so support has been added.

* DragonFly-specific files added via patch mechanism
* Some existing patches modified to add DragonFly configuration items
* dl_iterate_phdr error handling support added (FreeBSD support was altered,
  NetBSD and OpenBSD support is commented out)
* The java language is taken off as a default option

On the i386 platform, the compiler will build from a full bootstrap, but
one of the later stages fails on x86_64.  It fails to find libstdc++.so.6
even though the previous stage library was built and -B, -L flags point
to it.  The cause of the platform-specific build failure isn't clear --
The workaround is to disable the bootstrap on DragonFly so that the compiler
is built in one stage instead of three.  This workaround could have been
limited to the x86_64-DragonFly platform only, but currently is applied to
i386-DragonFly too.
2012-06-23 22:13:02 +00:00
sbd
60737dcdb2 Remove gcc-go from PKG_SUGGESTED_OPTIONS as it seems to have some build
problems.
2012-04-30 04:17:39 +00:00
wiz
82bb3e9280 Fix typo. 2012-04-22 08:52:18 +00:00
sbd
a29a4df310 The 'gcc-objc++' should enable both the 'gcc-c++' and 'gcc-objc' options. 2012-04-22 08:19:59 +00:00
sbd
c1593c8a8d Change the way that ${MULTILIB_SUPPORTED} is used.
Three situations need it be handled:

1) Multilib support is unknowen, i.e. there is nothing in the options.mk
   file to appropriately set ${MULTILIB_SUPPORTED} (currently all platforms
   except Linux/x86_64).  In this situation nothing should be done.

2) Multilib _is_ supported, in this situation the 'gcc-multilib' option
   should be made available and the CONFIGURE_ARGS modified accordingly.

3) Multilib _is not_ supported, in this situation CONFIGURE_ARGS need to
   be modified.
2012-04-22 08:14:22 +00:00
obache
b2cfa8150e fixes malformed conditional with MULTILIB_SUPPORTED. 2012-04-18 07:10:40 +00:00
sbd
0fdb6615f0 Import gcc-4.7.0 and lang/gcc47
GCC 4.7.0 is a major release, containing substantial new
functionality not available in GCC 4.6.x or previous GCC releases.

GCC 4.7 features support for software transactional memory on
selected architectures.  The C++ compiler supports a bigger
subset of the new ISO C++11 standard such as support for atomics
and the C++11 memory model, non-static data member initializers,
user-defined literals, alias-declarations, delegating constructors,
explicit override and extended friend syntax.  The C compiler adds support
for more features from the new ISO C11 standard.  GCC now supports
version 3.1 of the OpenMP specification for C, C++ and Fortran.

The link-time optimization (LTO) framework has seen improvements
with regards to scalability, stability and resource needs.  Inlining
and interprocedural constant propagation have been improved.

GCC 4.7 now supports various new GNU extensions to the DWARF debugging
information format, like entry value and call site information, a typed
DWARF stack and a more compact macro representation.

Extending the widest support for hardware architectures in the
industry, GCC 4.7 gains support for Adapteva's Epiphany processor,
National Semiconductor's CR16, and TI's C6X as well as Tilera's
TILE-Gx and TILEPro families of processors.  The x86
family support has been extended by the Intel Haswell and AMD Piledriver
architectures.  ARM has gained support for the Cortex-A7 family.

See

  http://gcc.gnu.org/gcc-4.7/changes.html

for more information about changes in GCC 4.7.
2012-04-16 04:27:18 +00:00