[esnacc-dev] "cross" compile

Marty Galligan m_galligan at comcast.net
Tue Jul 25 04:04:27 UTC 2017


I'm using esnacc to build a daemon.  The daemon build happens on 
Ubuntu, the daemon is targeted to run on windows.  So I need to build 
libcxxsn1.a as a windows binary.

Running configure with --build=i686-pc-linux-gnu 
--host=i686-pc-windows didn't work, the cross compiling g++ I'm using 
gave me an error of  .../lib/libc++asn1.a: member 
.../lib/libc++asn1.a(cxx_lib_libcxxasn1_la-asn-null.o) in archive is 
not an object
collect2: ld returned 1 exit status

libc++asn1.a is a soft link to libcxxasn1.a

How can I generate a libcxxasn1.a for windows, while building on linux?


-Marty Galligan, m_galligan at comcast.net, c: 978-505-5185  



More information about the dev mailing list