Context - I posted previously about compiling (or cross-compiling) a C curses 
program.

I'm confused by the mingw-w64 directory structure and names. It seems well 
thought and 
organized, probably self-obvious to the developers. But I don't "get it" as a 
user.

*********** On windows xp computer:

C:\sw\mingw-builds>\sw\unx-util\bin\find -name include -print
.\x32-4.8.1-posix-dwarf-rev5\mingw32\i686-w64-mingw32\include
.\x32-4.8.1-posix-dwarf-rev5\mingw32\include
.\x32-4.8.1-posix-dwarf-rev5\mingw32\lib\gcc\i686-w64-mingw32\4.8.1\include
.\x32-4.8.1-posix-dwarf-rev5\mingw32\lib\gcc\i686-w64-mingw32\4.8.1\install-tools\include
.\x32-4.8.1-posix-dwarf-rev5\mingw32\opt\include

C:\sw\mingw-builds>\sw\unx-util\bin\find -name lib -print
.\x32-4.8.1-posix-dwarf-rev5\mingw32\i686-w64-mingw32\lib
.\x32-4.8.1-posix-dwarf-rev5\mingw32\lib
.\x32-4.8.1-posix-dwarf-rev5\mingw32\lib\gcc\i686-w64-mingw32\lib
.\x32-4.8.1-posix-dwarf-rev5\mingw32\opt\lib

I'm confused by the many include and lib directories. As an end user of gcc, 
which 
directory would be the locations for adding curses header and library files? I 
guess I 
could add to all the directories, but I would rather understand the differences.

******* On linux computer:

$ uname -a
Linux lark 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 
i686 i686 
i686 GNU/Linux
$ ls /usr
amd64-mingw32msvc  i586-mingw32msvc  lib    share
bin                i686-w64-mingw32  local  src
games              include           sbin   x86_64-w64-mingw32

http://sourceforge.net/apps/trac/mingw-w64/wiki/FAQ explains about naming, it's 
only 
somewhat helpful. Could someone explain the difference between 586-mingw32msvc 
and 
i686-w64-mingw32 and x86_64-w64-mingw32? Maybe this example might be added to 
the FAQ.

Thanks,
Daniel

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to