[mercury-users] [OT] Building gcc-4.1 for Mac?
doug.auclair at logicaltypes.com
doug.auclair at logicaltypes.com
Tue Oct 10 12:23:56 AEST 2006
Dear Julien,
For your patch:
-----
diff -u -r1.96 compile_target_code.m
--- compiler/compile_target_code.m 5 Oct 2006 04:45:31 -0000 1.96
+++ compiler/compile_target_code.m 6 Oct 2006 13:48:08 -0000
@@ -711,9 +711,12 @@
globals.io_lookup_string_option(fullarch, FullArch, !IO),
(
+ % XXX Check if the above bug occurs on x86/darwin.
HighLevelCode = no,
GCC_Regs = yes,
- string.prefix(FullArch, "powerpc-apple-darwin")
+ ( string.prefix(FullArch, "powerpc-apple-darwin")
+ ; string.prefix(FullArch, "i686-apple-darwin")
+ )
->
AppleGCCRegWorkaroundOpt = "-fno-loop-optimize"
;
-----
The architecture that configure sees (according to my libtiff install) is:
checking build system type... i386-apple-darwin8.8.1
checking host system type... i386-apple-darwin8.8.1
checking target system type... i386-apple-darwin8.8.1
So, will the above test fail (because it's looking for i686, not i386 (or, even
more simply: '86'))?
Sincerely,
Doug Auclair
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list