On 2/22/2010 07:59, Jim Michaels wrote: > compiler-defined #defines so you can write cross-platform code better. > one source code, multiple targets (djgpp, 9x/me, nt-family, vista/7). > > I have a web page with a g++ wrapper batch file that makes vista/7-compatible > code by adding a manifest XML windows resource, which you supply parameters. > it switches out compiler(s) of your choice. you only get to choose between a > 32-bit and a 64-bit target compiler. > http://JesusnJim.com/code/mingw.html > the batch file has built-in help, albeit lengthy, so make sure your command > shell has a long enough layout buffer, at least 100 lines - I usually choose > 9900. > > I have a "common compiler switches" web page. > http://JesusnJim.com/programming/common-compiler-switches.html > it lists the most useful of the gcc compiler switches I have discovered along > the way. > > common compiler #defines page: at > http://JesusnJim.com/programming/common-compiler-defines.html > > any additions to these pages welcome. > > what I don't have is the mingw switches and command-line for making DLL's. > any contribution would only help me help someone else, and I could augment my > g++ wrapper batch file. >
Hi, Nice pages. see <http://gcc.gnu.org/onlinedocs/gcc/index.html> for help on GCC command line. More specifically the -shared option in <http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html> For compiler defines, see <http://predef.sourceforge.net/>. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
