Re: compiling gcc under mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Shabanov wrote:

> When I compiled gcc, I created 2 obj directories: obj_cygwin and obj_mingw,
> then simply executed '../configure' and 'make'.
> What I am doing wrong under mingw?

Your build dir is a subdirectory of the source dir.  Read the install
docs -- this is not supported.  I'm not sure if it's the cause of your
problem though.

Mingw has always seemed somewhat fickle about finding some of the build
tools like ld.  You might try telling it explicitly, e.g.
--with-ld=/mingw/bin/ld.  I also seem to recall something about needing
to specify the full absolute path to configure, not ../foo/configure. 
Or perhaps it was that you must always use a relative path, I can't
remember.  Mingw seems to encounter these build issues because it uses
native win32 paths, unlike Cygwin and almost every other port which uses
POSIX paths.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux