|
Post by Pjot on Feb 12, 2012 20:55:57 GMT 1
Folks, For fun I tried to get BaCon running in a Win32 environment using Cygwin. It revealed another small bug, but after fixing this the compilation went quite well. Some Win32 binaries can be found here. Make sure to put the Cygwin DLL in your path. If you want to compile BaCon programs in Win32, install at least Cygwin 1.7.10 or higher. Regards Peter
|
|
|
Post by Pjot on Feb 12, 2012 21:40:23 GMT 1
All, Also HUG programs are running, see screenshot. BR, Peter Attachments:
|
|
|
Post by jcfuller on Feb 13, 2012 10:57:08 GMT 1
Peter, Congratulations. I managed a native messagebox. James USEC #include <windows.h> END USEC PROTO MessageBox MessageBox(0,"Hello from Bacon","Hello",MB_OK)
Attachments:
|
|
|
Post by Pjot on Feb 13, 2012 15:28:09 GMT 1
Thanks James, Also I have updated HUG to 0.70 so it can be used with Cygwin/X now. Regards Peter
|
|
|
Post by jcfuller on Feb 14, 2012 11:47:12 GMT 1
Peter, How serious are you with the cygwin port? I have found some issues but if this was just an experiment I'll move on.
James
|
|
|
Post by Pjot on Feb 14, 2012 13:10:29 GMT 1
James,
Well, I found some issues too with the 'small' BaCon binary. It was compiled using some optimizations, but the resulting bacon.exe works bad. So I have removed the 'small' binary because it seems to be unreliable.
If you find problems with the 'normal' binary (435490 bytes in size) then let me know. As far as I can see this one works fine.
For HUG, the only problem I ran into was the FILESELECTION dialog, whose Win32 implementation appears to have known issues.
BR, Peter
|
|