"The -read_only_relocs flag is no longer used on OS X 64, which eliminates some warnings."<div><br></div><div><a href="http://www.haskell.org/ghc/docs/7.0.3/html/users_guide/release-7-0-3.html">http://www.haskell.org/ghc/docs/7.0.3/html/users_guide/release-7-0-3.html</a><br>
<br></div><div>HTH,</div><div>Ozgur</div><div><br><div class="gmail_quote">On 16 April 2011 03:47, Andrew Pennebaker <span dir="ltr"><<a href="mailto:andrew.pennebaker@gmail.com">andrew.pennebaker@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Times;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><div>
GHC 7 compiles fine, but there's an additional warning during linking.</div><div><br></div><div><font face="'courier new', monospace">$ system_profiler SPSoftwareDataType | grep "System Version"</font></div>
<div><font face="'courier new', monospace"> System Version: Mac OS X 10.6.7 (10J869)</font></div><div><font face="'courier new', monospace">$ ghc --version</font></div>
<div><font face="'courier new', monospace">The Glorious Glasgow Haskell Compilation System, version 7.0.2</font></div><div><font face="'courier new', monospace">$ cat hello.hs </font></div>
<div><font face="'courier new', monospace">#!/usr/bin/env runhaskell</font></div><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">module Main where</font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace">main :: IO ()</font></div><div><font face="'courier new', monospace">main = putStrLn "Hello World"</font></div>
<div><font face="'courier new', monospace">$ ghc --make hello.hs </font></div><div><font face="'courier new', monospace">[1 of 1] Compiling Main ( hello.hs, hello.o )</font></div>
<div><font face="'courier new', monospace">Linking hello ...</font></div><div><font color="#FF0000" face="'courier new', monospace">ld: warning: -read_only_relocs cannot be used with x86_64</font></div>
<div><font face="'courier new', monospace">$ ./hello</font></div><div><font face="'courier new', monospace">Hello World</font></div><div><br></div>Cheers,<div>
<br></div><font color="#888888"><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us/" target="_blank">www.yellosoft.us</a></div></font></span></span>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ozgur Akgun<br>
</div>