summaryrefslogtreecommitdiff
path: root/mk/compiler
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-31break dependency loop between ccache and digesttnn1-2/+2
2009-07-28Did you know that the := operator behaves funnily? Example:rillig1-2/+6
exclam != echo ${DEFINED_LATER:Q} value colon := ${DEFINED_LATER} value DEFINED_LATER = later show: @echo ${exclam} @echo ${colon} Don't expect them to be the same.
2009-07-08Allow other fortran compilers than f2c to be used when gcc doesn't supplymarkd1-8/+10
one. Now to use g95 as the fortran compiler just add PKGSRC_FORTRAN= g95 FC= g95 to the mk.conf.
2009-07-08Add g95 support to the compiler framework, based on the existing f2cmarkd1-0/+115
support.
2009-06-02Learn from the AIX issues with hard links to symbolic links and alwaysjoerg5-10/+10
create the compiler aliases with ln -fs.
2009-06-02Don't create hardlinks to symlinks, AIX freaks out with that.joerg1-2/+2
2009-05-30Rename GCC_USE_SYMLINKS to COMPILER_USE_SYMLINKS, implement it for thejoerg7-11/+38
other compiler drivers and enable it by default. Saves at least a percent of build time even for trivial packages like lang/lua.
2009-05-12Added some keywords.rillig1-1/+3
2009-03-17Documented the public variables of this file.rillig1-1/+27
2009-01-09Further refine AIX support. From Jens Rehsack.joerg1-2/+2
2008-12-29Fix misbalanced brackets as noticed by jnemeth.joerg1-2/+2
2008-12-29Improve AIX/XLC support:joerg1-1/+21
- provide cpp wrapper using cc -E - provide c++_r wrapper working like c++ - provide -rpath handling for cc - fix some debug messages to provide the correct script name
2008-11-27Adjust xlc_r check to actually look for the right binary.joerg1-3/+4
Prefer xlc_r over cc_r as authoritive name. Export CC_R. From Jens Rehstack.
2008-11-16Don't try to build gcc2 on AMD64, as it's not supported by that compiler.ahoka1-3/+3
This issue was reported by Daniel Horecki.
2008-11-14Improve AIX/XLC support based on discussions with Jens Rehsack:joerg1-1/+8
- Add cc_r/xlc_r wrapper using the same rules as xlc itself. It is used for example by Perl. - Improve the RPATH emulation: - Always set -blibpath, use /usr/lib:/lib as default - If -blibpath is exlicitly given, add to the default - Additionally append any -Wl,-rpath given.
2008-09-16Added the list of variables, so that "bmake show-all-gcc" shows all therillig1-1/+29
internals of this file.
2008-06-17Sun Studio 12 has a generic -m64 flag rather than individual -xarch targets.sketch1-8/+10
2008-05-24Suppress automatical addition c to USE_LANGUAGES (ref. PR 34079)obache1-3/+3
if F2C does not really required. Fixes problem mentioned in PR 38626.
2008-02-07Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig10-49/+49
XXX: Why do we have the exactly same code in all the files?
2008-01-15Always tell the C++ compiler that we want support for ANSI C++ featurestnn1-1/+4
like namespace std enabled.
2007-11-30Solaris SunPro Compiler 11/12 fails on Solaris 8/9 with -xc99. The header ↵rhaen1-1/+9
files supplied by the OS are not c99 aware, the manpage suggests the setting: -xc99=all,no_lib for Solaris 8/9. See PR 37200
2007-10-16Added the variable CCACHE_BASE, so that a ccache other than the onerillig1-26/+35
installed by devel/ccache can be used. This is especially important for cross-builds. Documented IGNORE_CCACHE. Fixed the double use of the directory ${WRKDIR}/.ccache, which was used both as wrapper directory and as cache directory.
2007-10-05Added lots of XXX that should be cleaned up when the compiler frameworkrillig1-1/+11
is rewritten the next time.
2007-09-18For Portable C Compiler.reed1-0/+78
Add beginning of PKGSRC_COMPILER=pcc support. Based on "sunpro". Please help improve this. I have not tested with C++ or fortan.
2007-08-30At least with XLC V9, xlc -V isn't that useful as it prints thejoerg1-2/+2
man page. Use -qversion instead.
2007-08-15Provide _COMPILER_RPATH_FLAG and _LINKER_RPATH_FLAG. This should workjoerg1-2/+14
at the very least with AIX 5.3 directly and for older, wrapper should take care. Provide some more sane defaults for XLC and bail out explicitly if XLCBASE can't be determined.
2007-08-11When calling gcc to extract the version number, pass downjoerg1-2/+2
ALL_ENV as well. This ensures that any locale settings are overridden and the output matches what pkgsrc expects. This should fix some of the strange bootstrap issues seen over time that were seemingly fxied by USE_NATIVE_GCC=yes.
2007-08-02Add core of the infrastructure support for cross-compilation.joerg1-14/+17
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of the target filesystem - derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR - buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR - compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf) - PKG_DBDIR is prefixed with _CROSS_DESTDIR - package-install and bin-install are not called with su - install and strip are redirected to the tool version - links for the target specific ar, as, ld, nm, objdump, ranlib and strip are added - compiler wrapper detect if linking is requested or not - special command sinks for CPP and CC/CXX add the cross-compile magic: - modify include dirs to get the target /usr/include - modify linker dirs and runpath to use target /usr/lib at link time, but keep correct rpath entries Supported-by: Google SoC 2007 Basic tests by he@ on Sparc. Review from jlam@.
2007-05-28Remove trailing spaces.martti1-3/+3
2007-05-23Add C99 support, required for packages which use C99 such as devel/glib2sketch1-1/+6
2007-04-17fix botched $NetBSD$tnn1-1/+1
2007-04-17add support for the HP-UX C/aC++ compilerstnn1-0/+89
2007-03-15_COMPILER_LD_FLAG is only used in this file, and no other compiler filerillig1-5/+2
defines this variable, so it doesn't hurt to remove it.
2007-03-09Removed unused variables. Note that _ALIASES.* could only be removedrillig1-10/+2
because all the alias names are covered by _WRAP_ALIASES.*. Slowly this file becomes as short and simple as it should have always been.
2007-03-09Removed the creation of the extra wrapper directory WRKDIR/.sunpro andrillig1-45/+3
everything that is related to it. The wrappers in WRKDIR/.wrapper now call the compilers in SUNWSPROBASE directly. The aliases that have been provided had never been called because WRKDIR/.wrapper was earlier in the PATH and already called the canonical compiler (for example, .wrapper/gcc called .sunpro/cc, not .sunpro/gcc). Also removed the comments related to f2c. We have a version control system to keep outdated code, so why keep it in the current source?
2007-03-09Rewrote the file so that it is easier to see what needs to be done whenrillig1-26/+31
adding a language.
2007-03-07Make the #error directive an error with MIPSpro.rillig1-1/+6
2007-02-10Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON.rillig1-2/+2
2007-01-16when using sunpro, go ahead and use the sun fortran compiler insted of f2c. ↵dmcmahill1-9/+23
The former seems to work as well or better
2007-01-16alias f2c-f77 as g77 as well as f77 and f2c-f77. libtool cares.dmcmahill1-2/+2