Hi Daniel,
On Sun, 06 Oct 2013 10:50:41 -0700, Daniel Goldman <[email protected]> wrote:
> > I haven't tried them, but those packages should be usable with a
> > mingw-w64 cross-compiler by unpacking them into your sysroot-prefix
> > (e.g. /usr/x86_64-w64-mingw32/sys-root/mingw/).
>
> 1) I don't find /usr/x86_64-w64-mingw32/sys-root/mingw/ directory. Am I
> supposed to substitute something for "sys-root"? Anything wrong with my
> setup if no sys-root directory?
>
> $ pwd
> /usr/x86_64-w64-mingw32
> $ find . -name sys-root -print
> $ ls
> include lib libsrc
> $ 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
If you're using the Ubuntu mingw-w64 packages, that's normal, they don't use
a sysroot.
> 2) /usr/x86_64-w64-mingw32/include has 1,119 ".h" files. I take it I need
> to more or less manually install curses.h to the include directory (and add
> library file). Any reason curses.h is not routinely included as part of the
> distribution? It seems if 1,119 header files, maybe curses might "make the
> grade"?
I'm working on making mingw-w64 a partial architecture for Debian and Ubuntu,
so eventually you'll get loads of packages in the distributions using
multiarch. In the meantime I'm only shipping mingw-w64.
If you add headers to /usr/{i686,x86_64}-w64-mingw32/include and libraries
to /usr/{i686,x86_64}-w64-mingw32/lib, the compiler will pick them up. The
latest version of mingw-w64 also ships {i686,x86_64}-w64-mingw32-pkg-config
so you can also add .pc files to /usr/{i686,x86_64}-w64-mingw32/lib/pkgconfig
and have them picked by configure scripts too.
Regards,
Stephen
------------------------------------------------------------------------------
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