mac platform problem with configure in 7.10.3 release candidate 3

George Colpitts george.colpitts at gmail.com
Sat Nov 21 18:07:12 UTC 2015


Maybe my gnu gcc is not functional, let me check it out and get back to you

On Saturday, November 21, 2015, George Colpitts <george.colpitts at gmail.com>
wrote:

> No, it's the reverse, it is gnu gcc that fails and Apple gcc that works
>
> Attached is the config.log for the failing case of gnu gcc
>
> On Sat, Nov 21, 2015 at 12:05 PM, Ben Gamari <ben at well-typed.com
> <javascript:_e(%7B%7D,'cvml','ben at well-typed.com');>> wrote:
>
>> George Colpitts <george.colpitts at gmail.com
>> <javascript:_e(%7B%7D,'cvml','george.colpitts at gmail.com');>> writes:
>>
>> > The hq rc3 mac binary build is where I am reporting the problem.
>> > I also reproduced it on a mac just now on the hq rc3 src build which I
>> > guess is not surprising.
>> >
>> > I believe I encountered this in previous 7.10.3 builds but failed to
>> report
>> > it.
>> >
>> > Sorry
>> >
>> > On Sat, Nov 21, 2015 at 12:07 AM, Carter Schonwald <
>> > carter.schonwald at gmail.com
>> <javascript:_e(%7B%7D,'cvml','carter.schonwald at gmail.com');>> wrote:
>> >
>> >> Was this my build or the hq build?
>> >> On Nov 20, 2015 6:55 PM, "George Colpitts" <george.colpitts at gmail.com
>> <javascript:_e(%7B%7D,'cvml','george.colpitts at gmail.com');>>
>> >> wrote:
>> >>
>> >>> On MacOS if your path is such that gcc is the gnu gcc rather than
>> Apple's
>> >>> gcc then ./configure gives
>> >>>
>> >>> checking whether we are cross compiling... configure: error: in
>> >>> `/Users/gcolpitts/downloads/ghc-7.10.2.20151114':
>> >>> configure: error: cannot run C compiled programs.
>> >>> If you meant to cross compile, use `--host'.
>> >>> See `config.log' for more details
>> >>>
>> It's not clear to me why Apple's "GCC" (actually clang, if I'm not
>> mistaken) doesn't work here. Could you paste config.log somewhere?
>>
>> Cheers,
>>
>> - Ben
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20151121/1477ff1b/attachment.html>


More information about the ghc-devs mailing list