mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Help on Cross-Compilation


From: William R
Subject: Re: [Mingw-cross-env-list] Help on Cross-Compilation
Date: Tue, 28 May 2013 23:54:27 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

by the way,
the methode "5d" was kind of the good one, but not enough... You can have a look at "src/suitesparse.mk" to see the full commands.
The idea is to replace "gcc" by "i686-pc-mingw32-gcc", "ld" by "i686-pc-mingw32-ld", "ar" by "i686-pc-mingw32-ar" and "pkg-config" by "i686-pc-mingw32-pkg-config" in every call to those tools in the Makefile. Which could be achieved by doing :
make CC=$(CROSS)gcc LD=$(CROSS)ld AR=$(CROSS)ar PKG_CONFIG=$(CROSS)pkg-config ...

But please note that it is never enough!

good luck.


PS : you are very close to make a "fox-toolkit.mk" package that you could submit to MXE !




On 05/28/2013 04:19 PM, Niels Kristian Bech Jensen wrote:
> But, I think I need to cross compile the UMFPACK too. So, I downloaded
> it and there is no shellscript file called "configure" there. How do I
> proceed with this library?

Hi Ramon.
 
UMFPACK is part of SuiteSparse which is included in MXE. You do not need to build it from scratch. Just do a 'make suitesparse'.
 
Best regards,
Niels Kristian Bech Jensen

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]