<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">It worked for me on my M2 mac but only after uninstalling and reinstalling Command Line Tools. </div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Hopefully the problem I had was unique to me. I got an error when I ran ./configure on my M2 mac:</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">checking C++ standard library flavour... actest.cpp:1:10: fatal error: 'iostream' file not found<br> 1 | #include <iostream><br> | ^~~~~~~~~~<br>1 error generated.<br>configure: error: Failed to compile test program<br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Following is the complete output I got </div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">checking for opt-17... no<br>checking for opt-17.0... no<br>checking for opt17... no<br>checking for opt-16... no<br>checking for opt-16.0... no<br>checking for opt16... no<br>checking for opt-15... no<br>checking for opt-15.0... no<br>checking for opt15... no<br>checking for opt-14... no<br>checking for opt-14.0... no<br>checking for opt14... no<br>checking for opt-13... no<br>checking for opt-13.0... no<br>checking for opt13... no<br>checking for opt... opt<br>checking opt version (18.1.8) is between 13 and 20... yes<br>checking for clang-19... no<br>checking for clang-19.0... no<br>checking for clang19... no<br>checking for clang-18... clang-18<br>checking clang-18 version (18.1.8) is between 13 and 20... yes<br>configure: $CC is not gcc; assuming it's a reasonably new C compiler<br>checking whether CC supports -no-pie... no<br>checking whether CC supports flags passed by GHC when compiling via C... yes<br>checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done<br>checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done<br>checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done<br>checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done<br>checking whether ld64 requires -no_fixup_chains... yes<br>checking whether ld64 requires -no_fixup_chains... yes<br>checking whether ld64 requires -no_fixup_chains... yes<br>checking whether ld64 requires -no_fixup_chains... yes<br>checking whether the linker requires -no_warn_duplicate_libraries... yes<br>checking whether the linker requires -no_warn_duplicate_libraries... yes<br>checking whether the linker requires -no_warn_duplicate_libraries... yes<br>checking whether ld supports response files... yes<br>checking C++ standard library flavour... actest.cpp:1:10: fatal error: 'iostream' file not found<br> 1 | #include <iostream><br> | ^~~~~~~~~~<br>1 error generated.<br>configure: error: Failed to compile test program<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 16, 2024 at 8:51 AM Zubin Duggal <<a href="mailto:zubin@well-typed.com">zubin@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The GHC developers are very pleased to announce the availability<br>
of the first alpha release of GHC 9.12.1. Binary distributions, source<br>
distributions, and documentation are available at [<a href="http://downloads.haskell.org" rel="noreferrer" target="_blank">downloads.haskell.org</a>][].<br>
<br>
<br>
We hope to have this release available via ghcup shortly.<br>
<br>
GHC 9.12 will bring a number of new features and improvements, including:<br>
<br>
* The new language extension [OrPatterns] allowing you to combine multiple<br>
pattern clauses into one.<br>
<br>
* The [MultilineStrings] language extension to allow you to more easily write<br>
strings spanning multiple lines in your source code.<br>
<br>
* Improvements to the OverloadedRecordDot extension, allowing the built-in<br>
`HasField` class to be used for records with fields of non lifted representations.<br>
<br>
* The [NamedDefaults] language extension has been introduced allowing you to<br>
define defaults for typeclasses other than `Num`.<br>
<br>
* More deterministic object code output, controlled by the `-fobject-determinism`<br>
flag, which improves determinism of builds a lot (though does not fully do so)<br>
at the cost of some compiler performance (1-2%). See #12935 for the details<br>
<br>
* GHC now accepts type syntax in expressions as part of [GHC Proposal #281].<br>
<br>
* ... and many more<br>
<br>
A full accounting of changes can be found in the [release notes][].<br>
As always, GHC's release status, including planned future releases, can<br>
be found on the GHC Wiki [status][].<br>
<br>
We would like to thank GitHub, IOG, the Zw3rk stake pool,<br>
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the Haskell<br>
Foundation, and other anonymous contributors whose on-going financial<br>
and in-kind support has facilitated GHC maintenance and release<br>
management over the years. Finally, this release would not have been<br>
possible without the hundreds of open-source contributors whose work<br>
comprise this release.<br>
<br>
As always, do give this release a try and open a [ticket][] if you see<br>
anything amiss.<br>
<br>
<br>
[release notes]: <a href="https://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-notes.html" rel="noreferrer" target="_blank">https://downloads.haskell.org/ghc/9.12.1-alpha1/docs/users_guide/9.12.1-notes.html</a><br>
[status]: <a href="https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status</a><br>
[<a href="http://downloads.haskell.org" rel="noreferrer" target="_blank">downloads.haskell.org</a>]: <a href="https://downloads.haskell.org/ghc/9.12.1-alpha1" rel="noreferrer" target="_blank">https://downloads.haskell.org/ghc/9.12.1-alpha1</a><br>
[ticket]: <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/new" rel="noreferrer" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/issues/new</a><br>
[OrPatterns]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0522-or-patterns.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0522-or-patterns.rst</a><br>
[MultilineStrings]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0569-multiline-strings.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0569-multiline-strings.rst</a><br>
[GHC Proposal #281]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0281-visible-forall.rst</a><br>
[NamedDefaults]: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0409-exportable-named-default.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0409-exportable-named-default.rst</a><br>
<br>
<br>
Cheers,<br>
Zubin<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>