summaryrefslogtreecommitdiff
path: root/mk/compiler
AgeCommit message (Collapse)AuthorFilesLines
2006-10-22Added header comments.rillig7-7/+53
2006-10-14Added the user-settable variable CCACHE_DIR, so that the cache can berillig1-2/+13
outside of WRKDIR. I don't see a reason for having the cache inside a directory that will go away on "make clean", but I left the default value as is.
2006-08-06CPP on IRIX 5 with IDO cc is /usr/lib/cppschwarz1-2/+9
2006-07-25Whenever f2c is mentioned in USE_LANGUAGES, a C compiler is also needed,rillig1-1/+3
so automatically add it to USE_LANGUAGES. Fixes PR 34079.
2006-07-21"BUILD_ENV" was misnamed. It's actually the environment that is passedjlam3-9/+9
to all internal recursive make processes. As such, rename it to "PKGSRC_MAKE_ENV". XXX Note, some of the usage of this variable in package Makefiles seems XXX incorrect. They probably want "MAKE_ENV", which is the environment XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-06On Solaris set _COMPILER_ABI_FLAG.64 to be consistent with the sunpromarkd1-1/+5
settings.
2006-07-06Set _COMPILER_ABI_FLAG.64 correctly for non sparc (ie amd64).markd1-1/+5
2006-04-05Change _GCC_DIST_VERSION from 3.4.5 to 3.4.6 to reflect update toshannonjr1-2/+2
lang/gcc34.
2006-02-10Bump '_GCC_DIST_VERSION' to '3.4.5' to match lang/gcc34shannonjr1-2/+2
2005-10-30added missing header lines.schwarz1-0/+2
2005-10-16added support for the SGI IDO (IRIX Development Option) cc used by IRIX 5.3.schwarz1-0/+76
changes approved by jschauma and recht.
2005-07-21some packages expect "-Wl," immediately before flags to be passed togrant1-4/+6
the linker, set _COMPILER_RPATH_FLAG accordingly. "-Wl," is removed by the sunpro compiler wrapper where necessary. fix comment for _LINKER_RPATH_FLAG while here. this fixes, among other things, apache modules built with apxs.
2005-05-31Updated _GCC_DIST_VERSION from 3.4.3 to 3.4.4 to reflect recent updateshannonjr1-2/+2
to lang/gcc34.
2005-05-17The sunpro wrapper now creates aliases for gcc and g++, too. This is neededrillig1-3/+3
because the <sys.mk> Makefile fragment sets CC?=gcc.
2005-03-24USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mailtv2-18/+6
to tech-pkg: ===== * USE_BUILDLINK3=YES will be unconditional. (In fact, USE_BUILDLINK3 will be ignored altogether by mk/; but see below.) * NO_BUILDLINK and NO_WRAPPER will be ignored by mk/. If a build happens, these phases will happen. * The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER. If no build happens, those phases are not needed. * NO_TOOLS will be ignored by mk/. The tools phase, which provides much more than just the C compiler, will always happen regardless of package. This will make metapackage builds only slightly slower, in trade for far less user error.
2005-02-16override the GNU configure test for __attribute__. the test commonlygrant1-1/+10
uses a nested function, which icc does not support.
2005-02-15add support for icc, the Intel C++ Compiler (Linux).grant1-0/+81
icc is a high performance compiler suite for Linux/i386 and ia64, and is free for non-commercial use. see: http://www.intel.com/software/products/compilers/clin/ for more information. tested with icc version 8.0 and 8.1 on Slackware 10/i386.
2005-01-24Merge down deferred EVAL_PREFIX handling from tv-derecurse branch.tv3-6/+3
Also move its definition later in bsd.pkg.mk, so that it actually works for compiler/*.mk (which is why those files originally had to provide "defaults" for their variables -- they never did get evaluated).
2005-01-21Re-add direct symlink logic, optional under GCC_USE_SYMLINKS=yes. Savestv1-2/+8
one fork/exec step on platforms where gcc is compiled with hardcoded gcc-lib pathnames. This applies to most platforms, but the default currently remains not to use symlinks so as to avoid unexpected gotchas for users.
2005-01-12add my copyright/license.grant1-1/+36
2005-01-12Correct my name to what I legally use.jlam3-6/+6
2005-01-12Use ${AWK} instead of a bare "awk".jlam1-3/+3
2005-01-12Rearrange how LANGUAGES.<compiler> is set so that we can more flexiblyjlam4-43/+59
detect when only parts of a compiler toolchain are present, e.g. the SunPro C compiler is installed, but not the Fortran-77 compiler.
2005-01-12Put a TNF copyright on files that I authored.jlam4-4/+144
2005-01-12Whitespace.jlam2-30/+30
2005-01-12Even more whitespace.jlam1-13/+13
2005-01-12Whitespace.jlam1-3/+3
2005-01-12Prepend the CCC compiler dir to the PATH so that they're found by thejlam1-1/+6
wrapper scripts.
2005-01-12Backout part of previous commit that was unrelated.jlam2-39/+29
2005-01-12Remove explicit overrides for CC and CXX that prevented using thejlam4-43/+41
definitions supplied in /etc/mk.conf. It should now be possible to pass optimization flags directly using CC and CXX when using CCC and xlC compilers.
2005-01-12Remove explicit overrides for CC and CXX that prevented using thejlam2-14/+2
definitions supplied in /etc/mk.conf. It should now be possible to pass optimization flags directly using CC and CXX when using SunPro and MIPSpro compilers.
2005-01-12Nuke USE_FORTRAN and bring the f2c handling within the mk/compilerjlam6-5/+155
framework. The list of changes include: * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES, so we no longer need to say it in package Makefiles. Packages should now append to USE_LANGUAGES instead of setting it. * Create mk/compiler/f2c.mk which implements another pseudo-compiler "f2c" that may be used with any C compiler backend, e.g. PKGSRC_COMPILER= f2c ccache gcc * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk, etc., to use f2c if the native Fortran compiler isn't present. Packages that use Fortran should now simply include the line: USE_LANGUAGES+= fortran in the package Makefile.
2005-01-10_ALIASES.<wrappee> should be cumulative.jlam2-6/+6
2005-01-10Whitespace nits.jlam2-10/+10
2004-11-30Modify the way that the toolchain variables, e.g. CC, CPP, CXX, LD, etc.,jlam7-94/+168
are handled. The idea now is to simply remove the paths in the values of these variables, leaving behind only the basename plus any arguments, e.g.: CC= /usr/local/bin/gcc becomes CC= gcc CPP= /usr/local/bin/gcc -E becomes CPP= gcc -E The wrapper scripts are generated for every unique executable mentioned by the toolchain variables, so for the example above, only a "gcc" wrapper script is generated for ${CC} and ${CPP}. PKG_{CC,CPP,CXX,etc.} are the paths to the executables wrapped by the wrapper scripts. Note that it's now possible to set "CC" to something more than just the path to the compiler, e.g. CC= cc -ffast-math -funroll-loops -fomit-frame-pointer and the full value of ${CC} will be passed through via CONFIGURE_ENV and MAKE_ENV.
2004-11-27CFLAGS+=-ma because most packages expect alloca to be available andgrant1-1/+5
this makes it so with xlc.
2004-11-23Use CCPATH instead of referring to the C compiler by its full path injlam5-20/+20
multiple places.
2004-11-23Whitespace changes.jlam2-18/+18
2004-11-23add {CC,CXX,FC,F77}PATH variables which give the complete path anddmcmahill5-5/+17
name of the {CC,CXX,FC,F77} compilers. These will be used by pkgs which need to know which compiler and where it is at run time. Approved by jlam@
2004-11-22Now that no package uses USE_GCC_SHLIB any longer, remove supportwiz1-7/+7
for it from compiler.mk. Move the variable of the same name used by compiler/gcc.mk and the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-20quieten spurious broken pipe output from cc.grant1-4/+4
2004-11-20add framework support for Tru64 and the Compaq C compiler.grant1-0/+73
patches provided by Tobias Nygren <tnn at netilium dot org> with minor changes by me.
2004-11-17For some reason EVAL_PREFIX is not properly using the _DEFAULT values, sotv2-2/+4
re-add the ?= assignments. (Will be fixed properly later.)
2004-11-17Don't check _*PREFIX/bin for the requested compiler hook program. Iftv2-27/+17
PKGSRC_COMPILER requested it, assume that it's available, so that compilation will (properly) fail if the hook program is somehow not correctly installed.
2004-11-10Update _GCC_DIST_VERSION to 3.4.3shannonjr1-2/+2
2004-10-09devel/patch is needed by some platforms in order to build ccache, so don'ttv1-2/+2
cache that one either.
2004-10-06call the C compiler as 'xlc' so libtool mostly DTRT.grant1-5/+5
2004-10-06add initial support for IBM's XL C/C++ compiler. tested with versiongrant1-0/+62
6.0 on Mac OS X 10.3.5. to use XL C, set PKGSRC_COMPILER=xlc in mk.conf. XLCBASE defaults to /opt/ibmcmp/vacpp/6.0 (the default installation location on OS X), this can be overridden in mk.conf too. this is a work in progress - some simple packages can be built, but there are still lots of issues that need to be worked through.
2004-09-23Teach gcc.mk about gcc34 so that setting GCC_REQD=3.4 in /etc/mk.conf willjlam1-5/+35
make pkgsrc do the right thing.
2004-09-23Support the ABI flags on MIPS platforms.jlam1-10/+12