summaryrefslogtreecommitdiff
path: root/mk/compiler
AgeCommit message (Collapse)AuthorFilesLines
2012-09-17check defined(_USE_GCC_SHLIB) before using it.obache1-2/+2
2012-09-16Document USE_PKGSRC_GCC_RUNTIME and provide a default setting.jperkin1-5/+23
Introduce USE_GCC_RUNTIME for packages which build shared libraries, but do not use libtool to do so, and add logic to always define _USE_GCC_SHLIB on Solaris if either USE_LIBTOOL or USE_GCC_RUNTIME are defined. On Solaris, a non-GNU linker is always used, so this correctly adds a dependency upon the gcc runtime for those packages.
2012-09-16Add dependency on GCC libraries if requested.sbd1-1/+9
Code by Jonathan Perkin.
2012-09-13Move the setting of _USE_GCC_SHLIB=yes on SunOS from the gcc buildlink3 tosbd1-1/+8
mk/compiler/gcc.mk
2012-07-27Ensure LC_ALL=C is set when determining the gcc version. Add a commentjperkin1-11/+8
explaining why we currently have to hardcode 'env' rather than use SETENV or PKGSRC_SETENV.
2012-07-13Add new GCCBASE variable, useful on systems which install gcc outside ofjperkin1-2/+9
the normal $PATH.
2012-07-09Set default values for _NEED_GCC47 and _NEED_GCC_AUX.sbd1-1/+3
2012-07-08compiler.mk/gcc.mk: Add support for USE_LANGUAGES+= ada marino1-2/+85
All recent packages featuring Ada code have a hard dependency on the lang/gnat-aux compiler package. The valid values for USE_LANGUAGES are c, c99, c++, fortran, fortran77, java, objc, so specifying a specific compiler was necessary up into now. One problem with lang/gnat-aux is that it is installed at ${LOCALBASE} where the lang/gccXX compilers are installed at ${LOCALBASE}/gccXX. The latter compilers have no possibility of sharing conflicting files unlike lang/gnat-aux. Rather than fundamentally update the GCC 4.6-based lang/gnat-aux to avoid these conflicts, a new Ada-capable compiler based on GCC 4.7 was created with the intent of being supported by mk/compiler.mk and mk/compiler/gcc.mk. The Ada packages will be effectively migrated from lang/gnat-aux to the new lang/gcc-aux compiler, but lang/gcc-aux will remain as a standalone package as it is the only GCC 4.6-based compiler that builds on DragonFly and serves it as a world and kernel compile option. In addition to the current language wrappers, lang/gcc-aux adds wrappers for "ada" (unique to gcc-aux, hardlinked to gcc driver), and the gnat, gnatmake, gnatbind, gnatlink, gnatchop, gnatprep, and gnatls programs. Supporting all of these allows the wrapper system to be used with Ada packages; currently wrappers are mostly disabled on them. The lang/gcc47 implicitly adds support for the "objc-c++" language by adding it to the USE_LANGUAGES list, but it wasn't really supported. An attempt was made to better support objc-c++, but this new enumeration probably still needs work or needs to be removed completely. Logic for Ada support: 1) All lang/gccXX compilers have version numbers ranging from 2.8.1 to 9. 2) lang/gcc-aux uses the release date as its version number in the form of YYYYMMDD with a minimum value of 20120614, so there is no version overlap. 3) When at least one element of USE_LANGUAGES is "ada", the value of 20120614 is added to the set of GCC_REQD which selects lang/gcc-aux. 4) The _NEED_NEWER_GCC check is disabled. It fails and isn't relevant; unless a package sets GCC_REQD over 20120614, the only way to select lang/gcc-aux is to specify the Ada language and only one compiler known to gcc.mk can support it.
2012-06-26Solaris needs -m32 for ABI=32 too, now that we have compilers which buildjperkin1-11/+2
64-bit by default.
2012-04-25If unset, set PKGSRC_FORTRAN accordingly if g77 or gfortran exist.hans1-1/+3
2012-04-24Add _COMPILER_ABI_FLAG.XX for gcc on Linux.sbd1-1/+6
2012-04-16Add support for gcc-4.7sbd1-6/+39
2012-04-16Make sure that gcc47 JAVA_WRAPPERS don't break the _GCC_SUBPREFIX detection.sbd1-1/+2
2012-04-13Move USE_PKGSRC_GCC from compler.mk to compler/gcc.mk and make it a yes/nosbd1-2/+18
check. At the same time cleanup GCC_REQD.
2012-04-13Inorder to use a native gcc there must be a builtin gcc.sbd1-2/+2
2012-03-06Highest version of gcc in pkgsrc is now 4.6.3hans1-2/+2
2012-03-06Add CCACHE_COMPILERCHECK to the environment when using ccache.sbd1-2/+2
2012-02-28If gcc from pkgsrc is used, FCPATH might not be installed yet. Don'thans1-2/+2
force installation of yet another (different) fortran compiler in that case.
2011-11-03Update _GCC_DIST_VERSION to 4.6.2hans1-2/+2
2011-10-30README.C not README.c, says veego who seems to be afraid to use his commit bit.wiz1-2/+2
2011-10-30Check for /usr/var/README.c as well.wiz1-2/+2
From Brian A Seklecki on pkgsrc-users.
2011-09-28Fix setup of g95 as PKGSRC_FORTRAN for fortran77 packages.markd1-2/+3
2011-09-08Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -iabs1-2/+7
to santise environment
2011-08-22Fix bootstrap on IRIX with mipspro compiler, for detailscheusov1-1/+3
see PR 42424. I couldn't fix this problem using TOOLROOT variable.
2011-08-18Update _GCC_DIST_VERSION to 4.6.1.wiz1-2/+2
Noted by Jörn Clausen in PR 45256.
2011-07-19If the clang-cpp alias exists, use it as default CPP in pkgsrc.joerg1-2/+12
Default to f2c for Fortran, mirroring gcc. Append -Qunused-arguments in the wrappers to unbreak many stupid configure checks that get confused by the (also added) -L options.
2011-06-10Support gcc-4.5 and gcc-4.6. Some testing by Jörn Clausen.wiz1-6/+67
2011-05-19Apply the patch from my own pkg/42480.alnsn1-1/+26
2011-05-08Fix bug in .include directive. This fixes mipspro support on IRIX.cheusov1-2/+2
Oked by wiz@
2011-02-25Update to 4.4.5, fixes a build problem on OpenIndiana (and probablyhans1-2/+2
Solaris 11 Express, too). Changes 4.4.5: The GNU project and the GCC developers are pleased to announce the release of GCC 4.4.5. This release is a bug-fix release, containing fixes for regressions in GCC 4.4.4 relative to previous releases of GCC.
2010-12-26Remove possibly confusing variable assignment.asau1-2/+1
2010-12-26Fortran is not Fortran-77 anymore.asau1-2/+2
2010-12-26Break with the past: use g95 as default Fortran compiler.asau1-1/+6
Welcome to the modern world of computing. This is known to break DragonFly at least, either port g95 or fix lang/gcc44 to work on NetBSD. Unless there're packages that still think that Fortran is F77, this shouldn't affect anything.
2010-12-26Don't make Fortran synonymous to Fortran-77, it isn't so already.asau1-3/+3
2010-12-26Enable Fortran via f2cadam1-8/+5
2010-12-26Added COMPILER_ABI_FLAGsadam1-1/+3
2010-11-03* Use LOCALBASE instead of PREFIX for PCC and Clang compiler detectionadam2-25/+15
(otherwise Makefiles with mk/compiler.mk included fall back to GCC). * Simplified compiler/clang.mk.
2010-10-21Fix clang.mk; add C++ supportadam1-12/+10
2010-09-23Add support for clang.ahoka1-0/+76
2010-07-30Implement "fortran77" as alias for "fortran".asau5-15/+20
2010-05-06Changes 4.4.4:adam1-2/+2
The [1]GNU project and the GCC developers are pleased to announce the release of GCC 4.4.4. This release is a bug-fix release, containing fixes for regressions in GCC 4.4.3 relative to previous releases of GCC.
2010-04-24Remove tail of -* from _GCC_VERSION for _GCC_PKG.obache1-2/+2
With gcc2 on Haiku, it's 2.95.3-haiku-090629, confuse pmatch of pkg_admin.
2010-03-15Changes 4.4.3:adam1-2/+2
The GNU project and the GCC developers are pleased to announce the release of GCC 4.4.3. This release is a bug-fix release, containing fixes for regressions in GCC 4.4.1 relative to previous releases of GCC.
2009-12-20Fix libtool under OS X: require a fixed version of f2c, and thus bumpjmmv1-2/+2
PKGREVISION of libtool to 3 and require it as a dependency.
2009-12-15Update to libtool-2.2.6b. This switches libtool to the new main branch.joerg1-11/+20
Changes are many, important for pkgsrc: - much higher speed (up to 30% faster for the overall build of libX11) - less magic for detection of the tag The pkgsrc integration of f2c has been changed to be more sane. libtool itself now depends on the f2c frontend to use proper auto-configuration and only fakes up the library. This part is encapsulated in mk/compiler/f2c.mk.
2009-12-03Adjust to follow f2c/libf2c split: build-depend on f2c, buildlink libf2c.asau1-3/+4
2009-10-25recognize compiler newer than 5.9, toosno1-2/+2
2009-09-18Fix a typo, no idea why this didn't show up when I tested this before.dmcmahill1-2/+2
2009-09-18Teach this file about the lang/gcc44 packagedmcmahill1-7/+44
2009-09-12Add 32 bit and 64 ABI options for GCC under Mac OS X.tron1-1/+6