Re: MinGW build instructions

Mark Mitchell
2005-05-11T07:21:37Z

Eli Zaretskii wrote:
> As an aside, what little experience I have in porting Unix programs to
> MinGW tells me that setting up an environment to build a package is
> not a trivial job. There are issues with what shell to use and how to
> set it up, what ports of auxiliary tools (Coreutils, Grep, Awk, etc.)
> to use and how to set them up, what non-default libraries to install
> and link against (the MinGW libraries such as libiberty, Libgw32c), etc.
>
> So perhaps, if we are going to have an alive MinGW port, it is a good
> idea to have a README.MinGW file in the distro that would describe how
> to build such a port of GDB. A description of the setup Mark uses to
> work on the port would be a good starting point.

I'd be happy to write it up -- but what I do is simple: I cheat. I use
cross compilers from i686-pc-linux-gnu to i686-ming32. If it would be
useful for me to show how I configure and build GDB like that, I'm happy
to write that up; just let me know.

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304