problem building mingw cross compiler

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed Oct 12 08:09:02 PDT 2011


On Wed, Oct 12, 2011 at 16:23, Jeremy Lavergne
<jeremy at lavergne.gotdns.org> wrote:
>> I was about to submit a bug report, but it might be that the first
>> question they will ask will be, why I'm still using 3.4.5-20060117-2
>> (more than 5 years old) which might not be supported any more.
>>
>> A year ago when I had problems with Segmentation fault of ldd, all
>> problems were gone when I upgraded from 2.19 to 2.21.
>
> Ah good point (experience is a great thing!).
>
> I'd email the maintainer (landonf) and/or file a ticket requesting updates.
> http://guide.macports.org/#project.tickets

I have now found the following ticket:
    http://trac.macports.org/ticket/30349

Changing the compiler with

if {${configure.compiler} == "llvm-gcc-4.2"} {
   configure.compiler gcc-4.2
}

indeed works fine and basic cross-compilation seems to work with the
binary that I get.

I have created a new ticket with request for update
     http://trac.macports.org/ticket/31578
(I have hit "Create Ticket" too fast and mistyped the ticket name. I'm
sorry for that.)

I would suggest to fix the existing port first (that can be done
quickly) by changing default compiler and try to update to a newer
version later. The binutils also need update, but that's a lower
priority than gcc since current version of binutils is from February
2011.

Thank you,
    Mojca


More information about the macports-users mailing list