building programs
Vincent Béron
vberon at mecano.gme.usherb.ca
Sun Mar 6 11:36:48 CST 2005
Le sam 05/03/2005 à 16:17, Rob D a écrit :
> I have attached 2 Makefiles that give me the unresolved main error on
> Solaris10.
>
> AEP Makefile is supposed to make an executable from a few files and some
> libraries.
Now I've had time to look at this one.
I simplified it a bit (only kept ../netclient/netclient.a and main.cpp),
and did the same thing about paths.
Again, I've attached the main.cpp file (Main.rc is empty).
Here's the output:
winebuild -o aep.exe.dbg.c --debug -C. main.cpp.o aep.exe.so aep
winegcc -c -I. -o aep.exe.dbg.o aep.exe.dbg.c
wineg++ -c -I. -o main.o main.cpp
wrc -I. -foMain.res Main.rc
wineg++ -mwindows -o aep.exe.so main.o Main.res aep.exe.dbg.o
../netclient/netclient.a -lodbc32 -lole32 -loleaut32 -lwinspool -lws2_32
-lcomctl32 -luuid
The resulting .exe.so does run correctly, showing 12 in a MessageBox.
Could you also try with the same files on your end, and report if it
works?
Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++
Size: 217 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050306/c60c6d97/main.bin
More information about the wine-devel
mailing list