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
..
2012-07-10 15:18:55 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2012-07-09 17:18:41 -04:00
2009-09-30 09:37:35 -04:00
2009-09-30 09:37:35 -04:00
2011-08-02 17:26:29 -04:00
2011-03-02 13:48:04 -05:00
2011-03-02 11:20:50 -05:00
2011-03-02 11:20:50 -05:00
2011-03-02 11:20:50 -05:00
2011-03-02 11:21:54 -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-06-12 15:37:53 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2010-08-13 12:17:57 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-02 13:26:01 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -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
2011-05-20 08:57:51 -04:00
2012-09-17 15:36:41 -04:00
2012-09-17 15:36:41 -04:00
2012-12-11 15:15:51 -05:00
2012-08-02 13:26:01 -04:00
2012-09-21 08:53:42 -04:00
2012-09-21 08:53:42 -04:00
2009-12-02 15:09:03 -05:00
2012-12-11 15:15:51 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2010-12-09 18:12:34 -05:00
2009-09-30 09:37:35 -04:00
2009-09-30 09:37:35 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-11-08 09:18:59 -05:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-10-05 10:08:28 -04: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-08-13 14:19:16 -04: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-08-13 14:19:16 -04:00
2011-12-05 18:13:49 -05:00
2011-12-05 18:13:49 -05:00
2012-08-13 14:19:16 -04:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2009-12-02 09:52:00 -05:00
2010-08-09 08:48:31 -04:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2011-12-14 09:32:27 -05:00
2012-06-12 15:37:53 -04: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-08-13 14:19:16 -04:00
2011-05-20 08:57:51 -04: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-08-02 13:26:01 -04: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
2010-08-09 08:48:31 -04: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-08-13 14:19:16 -04:00
2010-12-09 18:12:34 -05:00
2010-01-21 09:09:27 -05:00
2010-01-21 09:09:27 -05:00
2010-01-21 09:09:27 -05:00
2012-06-12 15:37:53 -04:00
2009-12-04 10:21:57 -05:00
2009-12-04 10:21:57 -05:00
2009-12-04 10:21:57 -05:00
2012-06-12 15:37:53 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2009-08-07 10:13:07 -04:00
2009-09-16 12:33:24 -04:00
2009-08-07 10:13:07 -04: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-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-10-05 10:08:28 -04:00
2012-12-04 08:25:33 -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-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00
2009-12-04 08:51:46 -05:00
2009-12-02 09:52:00 -05:00
2009-12-04 08:51:46 -05:00
2010-08-09 08:48:31 -04: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-08-13 14:19:16 -04: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-02-20 10:09:44 -05:00
2012-02-20 10:09:44 -05:00
2012-08-02 13:26:01 -04:00
2012-10-01 17:06:38 -04:00
2012-02-20 10:09:44 -05:00
2012-02-20 10:09:44 -05:00
2012-08-13 14:19:16 -04:00
2010-03-23 11:32:40 -04:00
2011-12-05 18:13:49 -05:00
2009-12-02 11:27:59 -05:00
2011-12-05 18:13:49 -05:00
2009-12-02 11:27:59 -05:00
2011-12-05 18:13:49 -05:00
2011-12-05 16:32:29 -05:00
2012-08-27 16:54:21 +02:00
2011-03-02 16:46:25 +01:00
2010-12-16 09:50:05 -05:00
2012-04-24 09:00:37 -04:00
2012-08-13 14:19:16 -04:00
2012-11-23 11:41:58 -05:00
2012-08-30 09:42:49 -04:00
2012-08-30 09:42:49 -04:00
2012-11-23 11:41:58 -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-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2012-09-05 07:38:45 -04:00
2012-08-13 14:19:16 -04:00
2012-08-13 14:19:16 -04:00