Re: [Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-10 Thread lh mouse
Usually a static archive (.a file) is created with 'ar' rather than 'g++'. To create an object file (.o file) that can be linked later on, use the following command: ld -r -o I never use gcc/g++ to do that. -- Best regards, lh_mouse 2016-05-11

[Mingw-w64-public] ignoring missing symbols doesn't seem to work

2016-05-10 Thread Tamir Duberstein
Hello! 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-symb

Re: [Mingw-w64-public] Need a prebuild MinGW-w64 with configuration of "--enable-nls"

2016-05-10 Thread lh mouse
You are sending to the wrong address. :> Long long ago, the MinGW team did have a toolchain with NLS enabled. I didn't spend much time with it, but it indicated that gettext did work on Windows. Maybe you can try this one: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gettext

Re: [Mingw-w64-public] Need a prebuild MinGW-w64 with configuration of "--enable-nls"

2016-05-10 Thread hua andy
gnu gettext在windows平台上存在问题, 开启nls选项没什么用.需要对libgettext做relocate修复. 我编译过enable-nls的版本,gcc有很多输出没法显示.后来发现是对vfprintf函数的支持问题,但我没法修复这个问题. 2016-05-10 15:50 GMT+08:00 lh mouse : > You might want to build one yourself. You can find something useful here: > https://github.com/Alexpux/MINGW-packages/tree/mas

Re: [Mingw-w64-public] Need a prebuild MinGW-w64 with configuration of "--enable-nls"

2016-05-10 Thread lh mouse
You might want to build one yourself. You can find something useful here: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-gcc-git Generally I wouldn't recommend use of NLS, because it turns out to be hard to get anything useful by feeding a search engine with any non-English erro