Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-21 | gcc also knows -mschedule=* | shattered | 1 | -1/+2 | |
2011-08-04 | Add support of C++ crossbuild with g++, based on CC with gcc. | obache | 2 | -2/+125 | |
2011-01-23 | Add support for MirBSD to pkgsrc. Patches from Benny Siegert and | agc | 1 | -1/+3 | |
Thorsten Glaser. | |||||
2010-08-16 | Force to use symbolic link for wrapper if WRAPPER_USE_SYMLINK is defined. | obache | 1 | -2/+2 | |
Workaround for missing hard link support on Haiku, PR#43398. | |||||
2009-11-23 | Make wrapper generation code work properly if there is a directory with | tron | 1 | -4/+4 | |
a whitespace in the command search path. | |||||
2009-08-15 | Recognize -m32. Change reundant -kPIC to -kpic to match the set. | joerg | 1 | -3/+4 | |
2009-06-11 | wrap some more gcc flags to suitable xlc flags | sno | 2 | -2/+58 | |
2009-06-02 | shell code is not C ... | sno | 2 | -6/+4 | |
2009-05-30 | Avoid one fork per wrapper call if no cleanup is necessary and debugging | joerg | 2 | -4/+12 | |
is disabled. In that case, the post processing is doing nothing anyway. | |||||
2009-05-30 | Require exact match for --wrappee-name option, no leading or trailing | joerg | 1 | -2/+2 | |
content. This option is used by libtool only and that uses the correct exact argument. | |||||
2009-05-30 | add some argument wrappers after studying xlc manpage | sno | 2 | -4/+26 | |
2009-05-06 | Allow to set the "bourne" shell used for buildlink3 wrappers per platform. | tron | 1 | -2/+3 | |
Set it to "/bin/ksh" under Mac OS X which should reduce package build times by more than 20%. | |||||
2009-01-15 | Fix cut & paste errors. From Jens Rehsack. | joerg | 3 | -6/+6 | |
2009-01-09 | Further refine AIX support. From Jens Rehsack. | joerg | 2 | -4/+28 | |
2008-12-29 | Also wrap the cpp command like cc for AIX/XLC. | joerg | 1 | -1/+2 | |
2008-12-29 | Improve AIX/XLC support: | joerg | 3 | -8/+19 | |
- 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-12-29 | Emulate -rpath argument of GCC and xlC on AIX, it works like the | joerg | 1 | -1/+10 | |
corresponding linker argument. | |||||
2008-12-01 | Skip -q64. From Jens Rehsack. | joerg | 1 | -1/+4 | |
2008-11-27 | Explicitly pass down -brtl for the linker, not the compiler. From Jens | joerg | 1 | -2/+2 | |
Rehsack. | |||||
2008-11-27 | Don't use the CC wrapper for ld on AIX with XLC. From Jens Rehsack. | joerg | 1 | -3/+2 | |
2008-11-14 | Improve AIX/XLC support based on discussions with Jens Rehsack: | joerg | 4 | -13/+60 | |
- 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-11-06 | Merge aix-xlc block into the xlc block and distinguish AIX and Darwin. | joerg | 1 | -7/+9 | |
The PKG_FAIL_REASON isn't executed by default, no idea why, but this makes it a bit cleaner why the compiler wrapper will fail and fixes the more important AIX case. | |||||
2008-10-30 | On AIX don't overwrite the XLC definitions with the platform logic, the | joerg | 1 | -8/+8 | |
former are already more specific. | |||||
2008-06-17 | Add a bunch of supported options. | sketch | 1 | -1/+8 | |
2008-04-21 | Revert rev 1.3 as it breaks e.g. -Wl,--whole-archive. See PR 38476 for | joerg | 1 | -2/+2 | |
details. | |||||
2008-04-20 | Keep libraries specified as .a files in their original position among | kim | 1 | -2/+2 | |
other libraries (specified with -l). Fixes a linking problem in net-snmp, where the Perl DynaLoader.a library becomes out-of-order when all -l arguments have been moved to the end of the command line. | |||||
2008-02-19 | Add IRIX command sinks, needed to get rpath fixup when using GCC. | tnn | 3 | -1/+57 | |
2008-02-19 | Pass gcc's -mabi=* option (used on mips) without warning. | tnn | 1 | -1/+2 | |
2007-11-28 | Do not load the $cache file for every argument. Instead, load it once | rillig | 2 | -5/+8 | |
and then call it as a shell function. Note that the shell function is not called "cache", since some shells have problems when a function has the same name as a variable. This speeds up the wrapper by as little as 75 percent for the final link command of editors/abiword on SunOS-5.10-sparc (before: 20 seconds, after: 5 seconds). | |||||
2007-11-28 | Oops, don't overflow the terminal. | rillig | 1 | -2/+2 | |
2007-11-28 | sunpro doesn't need -lstdc++. | rillig | 1 | -1/+4 | |
2007-11-28 | Using a single awk process instead of a pipe of four grep processes | rillig | 1 | -4/+6 | |
should be both faster and easier to read. | |||||
2007-11-19 | Sunpro doesn't need -rdynamic, since the linker is sensible by default. | rillig | 1 | -1/+2 | |
This change also works around shells/scsh's broken check for -rdynamic. | |||||
2007-11-08 | Preserve the -Wl,-Bstatic / -Wl,-Bdynamic arguments, but also | he | 1 | -1/+11 | |
duplicate them into the list of libraries. Someone may want to mix static and dynamic linking. Fixes PR#37228, approved by jlam. jlam says that a better long-term fix would be to ensure that all the -L specifications come before the -l specifications, instead of moving all the -l specifications to the end of the command line. | |||||
2007-11-01 | sunpro doesn't know -ggdb. | rillig | 1 | -1/+4 | |
2007-10-17 | Handle more variants of the position independent code flag from Solaris. | is | 1 | -1/+3 | |
This is needed for Xaw3d. Fix suggested by joerg@. | |||||
2007-10-09 | Remove trailing spaces. | martti | 1 | -2/+2 | |
2007-10-05 | When linking with XLC on AIX, force -brtl to get linkage behaviour we | joerg | 1 | -1/+8 | |
expect from other platforms. | |||||
2007-09-20 | When CPP is defined as "cc -E", the wrapper framework created the | rillig | 1 | -1/+2 | |
wrapper for gcc and cc as type "CPP", although these aren't C preprocessors. By preventing the code from overwriting files, this works now. | |||||
2007-09-19 | Fixed incorrect quoting of arguments. This behavior had been unnoticed | rillig | 2 | -9/+4 | |
for several years now, since the directories in the -I... and -L... options usually don't need quoting. But when the -D... option was processed using the same code, the bug had become visible. | |||||
2007-09-19 | Before and after the transformations, the commands are written to the | rillig | 1 | -3/+4 | |
log file in a format that allows copy-and-paste into a shell. Before, it wasn't possible to see from the log file whether a space was a delimiter or part of a shell word. | |||||
2007-09-13 | The word "skipped" is ambiguous. Use "untransformed" instead. | rillig | 1 | -2/+2 | |
2007-09-11 | Merge -D and the following word, so -D UNIX -D WHATEVER doesn't get | rillig | 1 | -2/+2 | |
transformed to -D UNIX WHATEVER (because the wrapper eliminates duplicate arguments). Now it becomes -DUNIX -DWHATEVER. This fixes a build problem reported in http://mail-index.netbsd.org/pkgsrc-users/2007/09/10/0004.html. | |||||
2007-09-08 | gcc knows -fpic. | rillig | 1 | -1/+2 | |
2007-08-02 | Add core of the infrastructure support for cross-compilation. | joerg | 4 | -2/+177 | |
- 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-06-18 | Changed the plain "mkdir" into ${MKDIR}, like in all the other cases. | rillig | 1 | -2/+2 | |
Apparently, the tools directory isn't in the PATH at the point where this code is executed. Fixes PR 35487. | |||||
2007-06-15 | Added transformations for -R, -fPIC, -kPIC, -KPIC and -g3. | rillig | 1 | -1/+5 | |
2007-06-09 | Added a slight variation of the patch provided in PR 36187 by Naoto | rillig | 1 | -4/+7 | |
Morishima. | |||||
2007-06-06 | Replaced ${_PKG_SILENT}${_PKG_DEBUG} with a simple ${RUN} to save some | rillig | 1 | -49/+39 | |
space. | |||||
2007-05-28 | Remove trailing spaces. | martti | 2 | -4/+4 | |