« Return to Thread: Necessary environment path settings?

Re: Necessary environment path settings?

by Danny Smith :: Rate this Message:

Reply to Author | View in Thread

> I can confirm this behavior.
>
> MinGW's release of GCC 3.4.5 contains a large amount of local
> patching, some
> of which I believe addresses issues like this of finding
> tools relative to
> the driver executables. If you add "-v" to the command line,
> I expect you'll
> see that the error message immediately follows a call to "as" (the
> assembler). I imagine that as most of the local patches were
> ported to the
> mainline sources, this small part didn't quite survive intact.

You assume too much.  There were no local patches relating to this.  

>
> Looking at the output of `path-to-mingw\gcc.exe
> -print-search-dirs`, it
> should be fairly obvious what's happening. For the programs search
> directories, there is no path corresponding to the root "bin"
> directory,
> which is where your binutils executables live. There is,
> however, a path
> corresponding to "path-to-mingw\mingw32\bin", which is an
> alternate location
> for the binutils tools.

This is not the alternate locatiion.  This is the first place the compuiler looks.
That is where binitils package is supposed to install them.


Danny


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: Necessary environment path settings?