> I am not able to compile a test program on solaris using winegcc tool. > Can anybody help? . . . > When I try to compile it using winegcc, it gives following error > message: > [EMAIL PROTECTED]:~/test >wineg++ test.cpp > winegcc: -fshort-wchar failed. > > On adding a flag '-v' with wineg++, a detailed error message is > displayed: > [EMAIL PROTECTED]:~/test >wineg++ -v test.cpp > -fshort-wchar -DWINE_UNICODE_NATIVE -D_REENTRANT -fPIC -DWIN32 -D_WIN32 . . .
Pardon me, but this kinda looks like wineg++ is not finding the compiler. Here's how it looks on my FC4 box with wine 0.9.7: $ wineg++ -v q.cpp g++ -fshort-wchar -DWINE_UNICODE_NATIVE . . . ^^^ You should investigate why wineg++ doesn't find what the name of the compiler is. It tried actually invoking an executable by the name of -fshort-wchar, as a session with truss would have shown ;) Cheers, Kuba