On Thu, Feb 12, 2009 at 02:53:51PM +0100, Farkas Levente wrote:
Richard W.M. Jones wrote:
> Note that the directory layout for mingw64 is somewhat different from
> mingw32. I arrived at what I think is the right structure after
> extensive discussions and help from members of the mingw-w64 project.
>
> /usr/x86_64-pc-mingw32/sys-root/ (prefix & sysroot)
> share
> x86_64-pc-mingw32
> mingw -> x86_64-pc-mingw32
>
> /usr/x86_64-pc-mingw32/sys-root/x86_64-pc-mingw32 (exec_prefix)
> bin (bindir)
> include (includedir)
> include64 -> include
> lib (libdir)
can you explain it a bit?
why mingw32 and not mingw64?
The full name 'x86_64-pc-mingw32' was chosen by upstream. I don't
really understand the full reasons why, but we cannot change it at the
moment.
why /usr/x86_64-pc-mingw32/sys-root/x86_64-pc-mingw32 and not
/usr/x86_64-pc-mingw32/sys-root/?
anyway the same question apply to mingw32 why
/usr/i686-pc-mingw32/sys-root/mingw/ and why not
/usr/i686-pc-mingw32/sys-root/?
why put share one level ip?
Again, upstream (mingw-w64) have suggested this layout as the best one
... (even though it doesn't work). Have a look at their
makebuildroot.sh script in upstream SVN to see how they suggest
building it.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my OCaml programming blog:
http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora