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] including hdf5


From: Joachim Schleicher
Subject: Re: [Mingw-cross-env-list] including hdf5
Date: Fri, 27 Apr 2012 10:53:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120317 Icedove/3.0.11

Hallo Alois,
I would like to have hdf5 available in mxe as well.
But when trying your Makefile for hdf5, configure wants to use the
native gcc compiler instead of the cross-compiler:

Compiling Options:
------------------
               Compilation Mode:
production                                                                      
           

                     C Compiler: /usr/bin/gcc

Attached is the configure log.
Is your build detecting the cross-compiler i686-pc-mingw32-gcc?

And: If I change your Makefile to use --host='$(TARGET)' instead of
CHOST, I get the following error:
configure: error: in `/home/njls/devel/mxe/tmp-hdf5/hdf5-1.8.8':
configure: error: cannot run test program while cross compiling

Best regards
Joachim


Am 06.03.2012 12:27, schrieb Mark Brand:
> Alois Schlögl wrote:
>>
>> Please include the attached file in the repo.
>
> Hi Alois,
>
> Thanks for this contribution. I have a few comments about it.
>
> 1) Instead of using sed to change Makefile.in, I think it would be
> better to supply a patch for Makefile.am, and then regenerate
> Makefile.in. This way it's easier to see whether patches continue to
> apply as expected when the package is upgraded. See gnutls.mk for an
> example of how to do this. Perhaps hdf5 comes with an 'autogen.sh' or
> similar script.
>
> 2) It would also be nice to have your change in the form of a patch
> that applies to the mercurial repo. You can make it using 'hg export
> -g'. This will contain your email address as the contributor.
>
> 3) Also please consider whether CHOST can appear at the end of the
> configure invocation. This is the style generally used in
> mingw-cross-env.
>
> regards,
>
> Mark
>
>


-- 
Joachim Schleicher | Dautmergerstr. 24,  72358 Dormettingen | Sensbergstr. 18, 
64759 Sensbachtal
Tel. 06068750 | Mobil 0152 058 34 939
GPG key ID: 0xA19121AC

Balinger Rockfestival am 31. März 2012 - www.balinger-rockfestival.de
Nacht der Robotik am 20. April 2012 - roboter.uni-hd.de

Attachment: hdf5.gz
Description: GNU Zip compressed data


reply via email to

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