Hi, On Tue, 10 May 2016 11:57:33 -0400, Tamir Duberstein <[email protected]> wrote: > I've been attempting to cross-compile CockroachDB to Windows using > mingw-w64. The compilation strategy used for CockroachDB involves > producing static archives with missing symbols (this is due to how > golang's tooling compiles c/c++ code). > > In our linux builds, we pass `-Wl,--unresolved-symbols=ignore-all` to > the compiler to silence these unresolved symbols warnings in our > intermediate static archives - however, it seems that mingw-w64's g++ > binary (`x86_64-w64-mingw32-g++-posix` is the one I've tested) doesn't > respect this flag. > > Does anyone know why this might be, or where to begin investigating?
Like all linker flags, this is handled by binutils rather than gcc. Currently the PE linker in binutils doesn't support the --unresolved-symbols option. Regards, Stephen ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
