From: Richard M. M. <rm...@ai...> - 2010-01-28 03:46:20
|
When I have to make Windows binaries that do not depend on Cygwin1.dll, I use the -mno-cygwin switch in Cygwin. You have to have the Cygwin Mingw package installed, but it's pretty painless as compared to using the MingW compiler. I've also built Windows executables and shared libraries in the past under Linux with a mingw gcc cross compiler. It worked really well. At one time, there was a complete package (based on gcc 2.95) somewhere on the net, so you didn't have to build it yourself. Interestingly, gcc 2.95 generated code that was a full 2X faster and 2X smaller than the gcc 3.X compiler. I hope the current gcc 4.X compilers have closed the gap. Dick On Wed, 2010-01-27 at 11:57 -0800, Stephen Williams wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Perhaps it's time to think about a cross-build environment for > building Windows binaries from a Linux workstation. The gcc > compiler does generate code compatible with the Windows ABI, > I think it's not unreasonable to expect that a complete compiler > suite suitable for generating Windows binaries can be cobbled > together. > > And of course Cygwin still works. My hope has always been to > distribute binaries that do not rely on the Cygwin run time, > and MinGW seems to give that. If only it weren't so horrible > to use in a Windows environment:-( > > Cary R. wrote: > > I looked at this a bit last night. Though I probably should > > not have given I'd already put in a 10+ hour day. After much > > unneeded pain (let's just say I hate how MinGW is installed) > > I was able to get the latest MinGW installed with the > > gcc-4.4.0 compiler suite. I had high hopes given that it > > comes with pthreads by default. That's when the fun started. > > > > For some reason make is very slow. This appears to be when > > it is checking to see what needs to be compiled. The > > compiler was also a bit slower, but I figured this was > > just more checks and optimizations in the latest compiler. > > I was able to compile everything. -Wall found a few issue > > that I have submitted patches for. There's still one issue > > in V0.9 that was recently fixed in development. This can > > likely be back ported, but is part of a much larger patch. > > > > The nail in the coffin is that vvp will not run for > > either version (V0.9 or development). It appears to be a > > problem when loading the system.vpi file. If does not > > appear to be a pthreads issue since V0.i9 is also > > effected. For now I'm no longer supporting MinGW so it's > > an orphaned compiler environment. > > > > When I have time I may look at compiling under MinGW > > again, but for now it's no longer on my system. > > > > Cary > > > > > > > > > > ------------------------------------------------------------------------------ > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the business > > Choose flexible plans and management services without long-term contracts > > Personal 24x7 support from experience hosting pros just a phone call away. > > http://p.sf.net/sfu/theplanet-com > > _______________________________________________ > > Iverilog-devel mailing list > > Ive...@li... > > https://lists.sourceforge.net/lists/listinfo/iverilog-devel > > > > > - -- > Steve Williams "The woods are lovely, dark and deep. > steve at icarus.com But I have promises to keep, > http://www.icarus.com and lines to code before I sleep, > http://www.picturel.com And lines to code before I sleep." > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4-svn0 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iD8DBQFLYJqvrPt1Sc2b3ikRAnwhAKDeueeLayt6KVEhRujfjah8e8GrBQCeOQcH > 2cvlmcbcNYxNzV1Wv8YT0ag= > =xrX2 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Iverilog-devel mailing list > Ive...@li... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel -- Richard M. Myers, VP, Senior Staff Development Engineer AISD Inc., 901-C La Barr Meadows Rd., Grass Valley, CA 95949 http://www.aisdinc.com (530)274-7886 x12, (530)274-7887 fax, (515)474-5612 alt fax |