summaryrefslogtreecommitdiff
path: root/usr.bin/libtool
AgeCommit message (Collapse)Author
2012-08-27a few libtool users are bogus, they confuse --export-symbols with theMarc Espie
real option -export-symbols. Instead of blindly passing that one to the linker, error out beforehand, so that people know the problem IS libtool usage and not our program. (as exemplified by Todd Fries on ldns).
2012-08-27vax does not get -rpath-link, but it also does not really need it.Marc Espie
as found out by sebastia@ and used during 5.2 vax package build... no ill side-effects so far, so do this as a stopgap measure (matthieu@ reports that our libtool is not yet very good for static-only arches).
2012-08-04zap nonsense codeMarc Espie
2012-07-18styleMarc Espie
2012-07-13tidbitMarc Espie
2012-07-13minor cleanupMarc Espie
2012-07-13move stuff around some more, do not load link parts unless we are actuallyMarc Espie
linking. (and always load basic linker class when we're actually linking) Start making a proper "library stash class".
2012-07-13fix shared library lookup...Marc Espie
2012-07-12common code for deducing libraries.Marc Espie
Still fucks up order somehow...
2012-07-12okay, now the parser module is totally part of Mode/Link.pm, no reasonMarc Espie
for a separate file
2012-07-12perlify: $_ is subjectMarc Espie
2012-07-12match what stupid gnu libtool is doing, namely -o is not a short optionMarc Espie
2012-07-12allow "long options" to be one letter, enforce with !Marc Espie
make sure -L dir will error out. "cute" gnu libtool: -x c will vanish from linker arguments, but only in library linking-mode.
2012-07-12laterMarc Espie
2012-07-12match gnu-libtool: error out if -L dir is used instead of -LdirMarc Espie
2012-07-12deal with -pthread as a "once on" option.Marc Espie
2012-07-12unwanted duplicateMarc Espie
2012-07-12simplify yet a bit moreMarc Espie
2012-07-12move a bit of stuff aroundMarc Espie
2012-07-11duh, idiotMarc Espie
2012-07-11must check release is defined, it CAN be 0.Marc Espie
2012-07-11try to make code vaguely saneMarc Espie
2012-07-11simplify cache code a bitMarc Espie
2012-07-11no need to trace libtool when executing an external command fails.Marc Espie
otherwise I get bogus bug-reports from nitwits
2012-07-11thinkoMarc Espie
2012-07-11fix bug for real. Turns out some libraries (xcb...) have NEEDED that goMarc Espie
to standard ldconfig search dirs... Of course, ld complains because it doesn't have them in its standard search dir. BUT there's an option -rpath-link designed just for that (look up needed objects during compile and trust the end result to find them). So use that for ldconfig directories... so that xcb can link without needing to go have a look at the NEEDED list, but without encoding standard rpaths in the resulting binary... Also, put all the junk that needs -Wl together so we can add one single -Wl,-rpath,foo,-rpath-link,foo2 thingy...
2012-07-11do the ldconfig search dir properlyMarc Espie
2012-07-11nit: bless object early so we can use methods on itMarc Espie
2012-07-10quick fix ?Marc Espie
2012-07-10unconfuse myself.Marc Espie
having two methods that do completely different things with the same name (!) is evil...
2012-07-10ouch, Rresolved and libsearchdirs no longer live in main, so make themMarc Espie
part of $gp as they should be... Oh, and create an actual linker object for later.
2012-07-10move some shit around to (more or less) where it belongsMarc Espie
2012-07-10bye-bye Getopt::LongMarc Espie
2012-07-10clean-up shit, pull some of LT::Util into ltconfig objectMarc Espie
make that a somewhat more "real" object...
2012-07-10full support for -static -shared -prefer-pic -prefer-non-pic -fpie*Marc Espie
in --mode=compile
2012-07-10pass the option string along as a 4th parameter, in cases canonical isMarc Espie
not all that matters (e.g., -fpie and friends)
2012-07-10nitMarc Espie
2012-07-10more config, sort stuff for easier spottingMarc Espie
2012-07-09--config had better match more stupid shit.Marc Espie
should fix devel/avr
2012-07-09longarg:Marc Espie
means longoption with a separate parameter, like for -Xcompiler (won't work as -Xcompiler=value)
2012-07-09start ditching Getopt::Long, only LT::Mode::Link uses it, so make itMarc Espie
autoload only when absolutely required.
2012-07-09extend option parser a bit more: if we pass it a regexp, then we matchMarc Espie
that regexp. for permuted mode, expose the "future" arguments so we can tinker with them directly. Use that to support -Wc,* and -Xcompiler
2012-07-09more compat shit for libtool1/libtool2 schizophreniaMarc Espie
should fix print/pdflib found out by jasper@
2012-07-09use short accessorMarc Espie
2012-07-09nitsMarc Espie
2012-07-09finally, also do accessors for short options. Turns out to be useful.Marc Espie
fix the array accessor...
2012-07-09a bit more scaffolding to distinguish between syntax errors during compilationMarc Espie
and non existent files (which is normal here).
2012-07-09avoid duplicate -oMarc Espie
2012-07-09create mode objects thru factory always: uniform require.Marc Espie
use getopt array mode for simpler test
2012-07-09tweak auto-accessor for arrays to be more usefulMarc Espie