#cd /root/.wine/drive_c/MinGW/bin
#wine gcc.exe [file].c -o [output]
Often times the code will use winsock (for initiating shells over TCP), in this case use the lws2_32 flag:
-lws2_32
#wine gcc.exe [file].c -o [output] -lws2_32
Friday, May 7, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment