2014-06-17 21:16 GMT+02:00 Jeff Law <l...@redhat.com>: > On 06/16/14 07:20, Kai Tietz wrote: >> >> Hello, >> >> this patch adds basic support for libatomic for mingw targets using >> win32 and for mingw targets using posix threading model. >> >> The win32 implemenation might need for initialization of mutexes a >> critical section. If issue occures we can still add that. For now >> all testcases are passing for native and posix-threading model mingw >> (32-bit and 64-bit). >> >> ChangeLog >> >> 2014-06-16 Kai Tietz <kti...@redhat.com> >> >> * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags. > > Isn't this all target stuff, in which case lt_host_flags seems > inappropriate. Or is this just poorly named?
Hmm, libatomic is here build for new host (means it is a gcc-target library). So it might be named poorly. Nevertheless see for details ACX_LT_HOST_FLAGS in config/lthostflags.m4 and why it is required to set -no-undefined and the proper bindir for cygwin/mingw. > The rest seems reasonable. So we just need to settle that nit and we can go > forward. > > jeff Kai