Abdelrazak Younes <[EMAIL PROTECTED]> writes: >>> VC is downloading. I have another question. how would vc++ handle >>> iconv, aspell, intl stuff? Can it simply link to the mingw built >>> libraries? >> In principle yes as there are only C library. The gnuin32 packages >> even provide iconv.lib for VC++ linking. > Hum, except for Aspell of course which is C++. I'll give a try to > compile it this week-end.
>From what I understand, g++ aims to be ABI-compatible with other Windows compilers, so in theory a g++-compiled Aspell should be loadable by a MSVC-compiled executable. I may, of course, have understood wrong... However, there appears to be something wrong with the way gcc defines the entry point to a .dll, meaning that in practice .dlls compiled with gcc cannot be loaded by executables compiled with MSVC. I'd assume that static .libs should be fine. If you do try to compile Aspell with MSVC, you might find the rather nifty "wrapmsvc" utility useful. It aims to enable the autotools user (here, Aspell) to compile the code with MSVC. Pass in g++ compiler options and it invokes MSVC with the equivalent MSVC options. Personally, I never got it to work with LyX (didn't try too hard either ;-)), but Ruurd did. His original ports of LyX to Windows were compiled with MSVC. Angus