Brad King
2dd67c7ea0
OS X: Detect implicit link directories on modern toolchains
...
We detect the implicit link directories for the toolchain by adding a
flag to get verbose output from the compiler front-end while linking the
ABI detection binary. Newer OS X toolchains based on Clang do not add
the implicit link directories with -L options to their internal
invocation of "ld". Instead they use a linker that comes with the
toolchain and is already configured with the proper directories.
Add the "-Wl,-v" option to ask "ld" to print its implicit directories.
It displays them in a block such as:
Library search paths:
/...
Parse this block to extract the implicit link directories.
While at it, remove the checks introduced by commit efaf335b (Skip
implicit link information on Xcode, 2009-07-23) and commit 5195a664
(Skip implicit link info for multiple OS X archs, 2009-09-22). Discard
the non-system link directories added by Xcode. Discard all detected
implicit libraries in the multi-architecture case but keep the
directories. The directories are still useful without the libraries
just to suppress addition of explicit -L options for them.
2012-12-11 15:15:51 -05:00
..
2008-06-09 15:09:14 -04:00
2009-10-27 14:01:31 -04:00
2007-05-17 13:20:44 -04:00
2011-11-16 11:26:10 -05:00
2012-11-02 12:50:05 +01:00
2012-03-02 10:24:43 -05:00
2012-08-13 14:19:16 -04:00
2009-10-05 16:50:21 -04:00
2009-10-05 16:50:21 -04:00
2010-02-01 09:03:05 -05:00
2009-09-16 15:09:58 -04:00
2009-09-16 15:09:58 -04:00
2009-09-16 15:09:58 -04:00
2011-11-28 13:48:59 -05:00
2011-11-28 13:48:59 -05:00
2011-11-28 13:48:59 -05:00
2011-11-28 13:48:59 -05:00
2009-09-16 15:09:58 -04:00
2011-11-28 13:48:59 -05:00
2007-07-02 13:29:36 -04:00
2009-10-27 14:01:31 -04:00
2009-10-06 14:45:19 -04:00
2009-10-06 14:45:19 -04:00
2009-10-06 14:45:19 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2009-04-29 13:13:58 -04:00
2012-11-02 17:10:06 +01:00
2011-11-16 11:26:10 -05:00
2011-11-16 10:15:01 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 10:15:01 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2011-11-16 11:26:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2010-05-27 12:21:56 -04:00
2012-09-19 11:31:36 -04:00
2012-12-05 10:39:10 -05:00
2011-02-25 17:26:34 -05:00
2011-02-25 17:26:34 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-03-04 13:43:23 +01:00
2012-11-02 17:10:07 +01:00
2012-01-22 12:15:57 +01:00
2012-01-22 12:15:57 +01:00
2012-12-11 15:15:51 -05:00
2012-08-13 14:19:16 -04:00
2012-11-02 17:10:07 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:09:55 +01:00
2012-11-02 17:08:44 +01:00
2012-11-02 17:08:44 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:44 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:44 +01:00
2012-11-02 17:08:49 +01:00
2012-11-02 17:08:44 +01:00
2012-11-02 17:10:07 +01:00
2012-11-02 17:10:06 +01:00
2009-10-05 16:50:21 -04:00
2009-10-05 16:50:21 -04:00
2009-03-06 10:04:06 -05:00
2009-03-06 10:04:06 -05:00
2010-08-17 09:23:35 -04:00
2011-03-18 14:28:24 -04:00
2011-07-07 22:09:44 +02:00
2009-07-14 10:15:47 -04:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2011-11-16 10:29:35 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-12-05 10:39:10 -05:00
2012-08-13 14:19:16 -04:00
2012-08-24 10:52:23 -04:00
2012-08-13 14:19:16 -04:00
2012-09-11 15:59:16 -04:00
2012-03-01 21:20:49 +01:00
2012-03-01 21:20:49 +01:00
2012-03-01 21:20:49 +01:00
2012-03-01 21:20:49 +01:00
2012-03-01 21:20:49 +01:00
2012-08-13 14:19:16 -04:00