Error while compiling code using wineg++ / winegcc on solaris
kuba at mareimbrium.org
Mon Mar 6 14:29:56 CST 2006
> 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
> testuser at testbox:~/test >wineg++ test.cpp
> winegcc: -fshort-wchar failed.
> On adding a flag '-v' with wineg++, a detailed error message is
> testuser at testbox:~/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 ;)
More information about the wine-devel