Re: MSYS path priority question
On 2011-8-2 18:50, Greg Chicares wrote:
> On 2011-08-02 08:25Z, Asm warrior wrote:
>> On 2011-8-2 16:05, Asm warrior wrote:
>>> The problem is: some MinGw suite have make.exe or grep.exe which is
>>> actually MinGW-make or MinGW-grep, they are Not the same ones as
>>> MSYS/bin folder.
> Then rename those binaries, or move them aside.
> Which MinGW version includes these binaries? I saw a stray 'make.exe'
> packaged with gcc-2.95.3-5, but that was ten years ago and I haven't
> noticed this problem since.
Firstly,thanks for the reply.
I use PCX's MinGW Suite 4.6.1, from:
It does Not contain a "make.exe", but for some reasons, he have supplied
an "grep.exe" under MinGw/bin folder.
I can remember a stray "make.exe" from another unofficial MinGW 4.X
suite, and this stray "make.exe" cause many problems when I use MSYS to
build gdb or clang. I don't realize the reason until several hours later.
Most MinGW suite use a "mingw32-make.exe" instead a "make.exe".
>> # My decision to add a . to the PATH and as the first item in the path list
>> # is to mimick the Win32 method of finding executables.
>> # I filter the PATH value setting in order to get ready for self hosting the
>> # MSYS runtime and wanting different paths searched first for files.
>> if [ $MSYSTEM == MINGW32 ]; then
>> export PATH=".:/usr/local/bin:/mingw/bin:/bin:$PATH"
>> export PATH=".:/usr/local/bin:/bin:/mingw/bin:$PATH"
>> My question is: If it is a mingw32 system, why do we put the /ming/bin
>> before /bin ???
> You might have an MSYS-native compiler in /bin and a windows-native
> MinGW compiler in /mingw ; those two paths would switch between them.
I do not have a MSYS-native compiler, As I said before, When I use MSYS
to build something, I actually need a MSYS-make, and also the
So, simply use the command:
should at least solve my problem.
ollydbg from codeblocks' forum
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
MinGW-users mailing list
This list observes the Etiquette found at
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
You may change your MinGW Account Options or unsubscribe at: