]> gcc.gnu.org Git - gcc.git/commitdiff
* config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 2 Mar 2005 20:33:45 +0000 (20:33 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 2 Mar 2005 20:33:45 +0000 (20:33 +0000)
From-SVN: r95805

gcc/ChangeLog
gcc/config/darwin8.h

index 22bb0a1b0bd2d4bc38521e003c6b58ba96aaaa65..2872f636bdd60c4c0133c077f223119c6865d638 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-02  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
+
 2005-03-02  Devang Patel  <dpatel@apple.com>
        
        Undo PR tree-optimization/18815 fix.
index 6a061a41cafb79299d91c83a3f0735d2f56f654e..639cb911c66f3ade68bd66392688622fd29b6a87 100644 (file)
@@ -22,11 +22,13 @@ Boston, MA 02111-1307, USA.  */
 /* Darwin 7.0 and above have C99 functions.   */
 #define TARGET_C99_FUNCTIONS 1
 
-/* Machine dependent libraries.  Include libmx when compiling on Darwin 7.0
-   and above.  Include libSystemStubs when compiling on 8.0 and above and
-   not 64-bit long double.  */
+/* Machine dependent libraries.  Include libmx when compiling on
+   Darwin 7.0 and above, but before libSystem, since the functions are
+   actually in libSystem but for 7.x compatibility we want them to be
+   looked for in libmx first.  Include libSystemStubs when compiling
+   on 8.0 and above and not 64-bit long double.  */
 
 #undef LIB_SPEC
 #define LIB_SPEC "%{!static:\
   %{!mlong-double-64:%{pg:-lSystemStubs_profile;:-lSystemStubs}} \
-  -lSystem -lmx}"
+  -lmx -lSystem}"
This page took 0.072939 seconds and 5 git commands to generate.