On 9/6/2010 19:50, Mario Emmenlauer wrote:
>
> Hi,
>
>> On 9/6/2010 15:52, Mario Emmenlauer wrote:
>>> I'm the original author of the issue [0] that Ismail referenced. During
>>> the last months since my report, I've repeatedly re-tried numerous
>>> times,
>>> but failed to build the canadian cross. Actually, back then mostly the
>>> same suggestions where given, tried, and failed. As you can see from my
>>> post, I've tried the following compile instructions:
>>>    - makefile: mingw64 svn experimental/buildsystem/makebuildroot-test.mk
>>>    - makefile: mingw64 svn experimental/buildsystem/makebuildroot.mk
>>>    - compile instructions from mingw64 sourceforge wiki
>>> all with variations of multilib, gcc-versions, ld-versions etc...
>>>
>>>
>>> Would it maybe be a good idea that someone who got the canadian cross
>>> running create a working Makefile? There are the excellent Makefiles
>>> "makebuildroot-test.mk" and "makebuildroot.mk" (from your project), that
>>> both follow the wiki compile instructions (more or less), but both fail
>>> in the pre-last step of ld linking.
>>> A working Makefile would be a good documentation, reference, and a
>>> perfect
>>> standard for regression testing.
>>>
>>> [0]
>>> http://www.mail-archive.com/[email protected]/msg00839.html
>>>
>>
>> Did you link lib to lib64? And do you have lib32? Native cross-back
>> works fine for me.
>
> As I wrote above, I tried amongst many other things your (unmodified)
> makefile "makebuildroot-test.mk", so yes lib was linked to lib64.
>
>
>> Are you talking about a triple cross? I tried
>> i686-linux->sparc-linux-mingw64 before, it works fine too.
>>
>> You might have better chance with makebuildroot-test.mk for canadian
>> cross, I've used it for the sparc triple cross.
>
> Hmm not sure I follow here. Have you a running canadian cross fro
> mingw-w64 on Linux? As I wrote above, I have tried the suggested
> "makebuildroot-test.mk" for canadian cross, and it fails with the
> described error: "make all-target-libgcc", message is:
>    [cut]/build/root/x86_64-w64-mingw32/bin/ld: skipping incompatible \
>    [cut]/build/root/mingw/lib/libmingw32.a when searching for -lmingw32
>
> Which revision of the makefile have you tested?
>

Those are actually warnings, ld will continue to walk through the 
directories. Can you post the last command and all of its errors/warnings?

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to