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] Add CLN library


From: Richard Crozier
Subject: Re: [Mingw-cross-env-list] Add CLN library
Date: Mon, 13 Jan 2020 12:39:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2



On 26/10/2019 03:49, Tony Theodore wrote:


On 23 Oct 2019, at 01:09, Richard Crozier <address@hidden> wrote:

I now have a problem with configure, the package does a test for the endianess 
of the system, when I do a configure on the package outside MXE with

./configure --host=x86_64-w64-mingw32.static CXXFLAGS="$CXXFLAGS -std=c++11" 
--build='x86_64-pc-linux-gnu' --prefix='/opt/mxe/usr/x86_64-w64-mingw32.static'  
--enable-static --disable-shared

Check the quoting in libcln.mk:

   CXXFLAGS='$$CXXFLAGS -std=c++11’

Cheers,

Tony


Sorry, I'm resurrecting an old thread. I'm trying to add the library CLN to MXE, see the attached .mk file (which now uses the release version, previously used github). With this I still get the following error:


/opt/mxe$ make libcln
[build]       libcln                 x86_64-w64-mingw32.static

Failed to build package libcln for target x86_64-w64-mingw32.static!
------------------------------------------------------------
checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
 presetting ac_cv_c_bigendian=no (or yes) will help
Makefile:827: recipe for target 'build-only-libcln_x86_64-w64-mingw32.static' failed
make[1]: *** [build-only-libcln_x86_64-w64-mingw32.static] Error 1
make[1]: Leaving directory '/mnt/2tbhd/rcrozier/mxe'
real    0m8.076s
user    0m5.624s
sys    0m1.384s
------------------------------------------------------------
[log]      /mnt/2tbhd/rcrozier/mxe/log/libcln_x86_64-w64-mingw32.static

Makefile:827: recipe for target '/mnt/2tbhd/rcrozier/mxe/usr/x86_64-w64-mingw32.static/installed/libcln' failed make: *** [/mnt/2tbhd/rcrozier/mxe/usr/x86_64-w64-mingw32.static/installed/libcln] Error 1


I corrected the quoting as you suggested but it has made no difference. Even though I am familiar with autotools, I also don't know how to follow the advice in the error and try setting ac_cv_c_bigendian=no (or yes). I also don't know whether no or yes is appropriate.

Can anyone help with this?

Thanks,

Richard

Attachment: libcln.mk
Description: Text Data


reply via email to

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