I installed fedora 11 on my old laptop and turned back on glitch free audio. It almost works perfectly. Sufficient that I probably wouldn't bother turning it off now. I think the hard drive is starting to fail so I decided to purchase a new laptop. Since I'd like some 3D functionality now I decided to go with the Intel GMA X4500. Unfortunately Fedora 11 stumbled here. I thought the picture quality wasn't very good and found it was using the vesa drivers not the intel drivers. Searching found that others had the same issue but it worked on Fedora 10. Tried a Fedora 10 live CD and the display was nice and sharp. Modified the xorg.conf to use the intel drivers and Fedora 11 also became nice and sharp. Anyway onto my question, has anyone played with the mingw32 cross compiler on Fedora 11? I've created a simple hello world app and cmake file (since I hate autotools). I've got it compiling by creating a Toolchain file but it seems like that is something that should be provided with the mingw32. Is there a standard Toolchain file somewhere and I just haven't found it?
Mingw32 on Linux is impossible unless you want to do simple Win32 stuff like calling MessageBox() and running the exe with Wine. I would love to be able to build Qt4 and SDL apps for Windows under Linux (I use Gentoo) but it seems it always fails miserably, even when copying libs and headers from a Windows installation of Mingw. I just run a VM and compile there, either with gcc or cl (Visual Studio). dulsi@identicalsoftware.com wrote:
I installed fedora 11 on my old laptop and turned back on glitch free audio. It almost works perfectly. Sufficient that I probably wouldn't bother turning it off now.
I think the hard drive is starting to fail so I decided to purchase a new laptop. Since I'd like some 3D functionality now I decided to go with the Intel GMA X4500. Unfortunately Fedora 11 stumbled here. I thought the picture quality wasn't very good and found it was using the vesa drivers not the intel drivers. Searching found that others had the same issue but it worked on Fedora 10. Tried a Fedora 10 live CD and the display was nice and sharp. Modified the xorg.conf to use the intel drivers and Fedora 11 also became nice and sharp.
Anyway onto my question, has anyone played with the mingw32 cross compiler on Fedora 11? I've created a simple hello world app and cmake file (since I hate autotools). I've got it compiling by creating a Toolchain file but it seems like that is something that should be provided with the mingw32. Is there a standard Toolchain file somewhere and I just haven't found it?
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Quoting Tatsh <ddrtist@gmail.com>:
Mingw32 on Linux is impossible...
I hate it when people tell me things are impossible. cmake can't be fixed without changing the FindSDL.cmake. I'd probably have to fix the finding of expat, physfs, and png since I use them as well. Rather than go down that rabbit hole, I started with my existing make file. Hardcoded SDL_FLAGS to -I/usr/i686-pc-mingw32/sys-root/mingw/include/SDL/ instead of running sdl-config. Needed to add mingw32 and SDLmain to the link line. Since compiling SDL_image with mingw32 cross compiler doesn't work with the configure script, I stripped the png loading code and put that directly in my source. Viola everything compiles, runs with wine and runs on my wife's windows box. The project is Bt Builder. It is an open source implementation of the Bard's Tale Construction Set (or at least the beginnings of one). http://identicalsoftware.com/btbuilder/ Dennis Payne dulsi@identicalsoftware.com
On Friday 14 August 2009 13:57:54 Tatsh wrote:
Mingw32 on Linux is impossible unless you want to do simple Win32 stuff like calling MessageBox() and running the exe with Wine. I would love to be able to build Qt4 and SDL apps for Windows under Linux (I use Gentoo) but it seems it always fails miserably, even when copying libs and headers from a Windows installation of Mingw. I just run a VM and compile there, either with gcc or cl (Visual Studio).
i use mingw to build large projects frequently like cross toolchains, graphical debuggers, USB debuggers, and havent had any real problems i cant tell you anything about using cmake as everything i do is autotool based and it works just fine -mike
participants (3)
-
dulsi@identicalsoftware.com
-
Mike Frysinger
-
Tatsh