gcc rm problem?

You can talk about almost anything that you want to on this board.

Moderator: Moderators

Post Reply
User avatar
Zepper
Formerly Fx3
Posts: 3262
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

gcc rm problem?

Post by Zepper »

How do I fix this thing? :shock:
gccerror.png
gccerror.png (5.83 KiB) Viewed 2904 times
User avatar
koitsu
Posts: 4201
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: gcc rm problem?

Post by koitsu »

This looks like incorrect use of slashes for the environment type or Makefile. Windows uses \ for a path delimiter, UNIX (which is partially what MinGW/MSYS is) uses /. Some environments (MinGW/MSYS vs. Cygwin) can actually "translate" one from the other, kinda sorta but not really but kinda yes but sorta not -- yeah, this sentence makes no sense because it's very hard to explain when it works vs. when it doesn't. Plus, language barrier.

I would refer to MinGW/MSYS documentation and/or GNU Make for how to address this. You may need to set an alternate shell. This is certainly a common problem.
User avatar
Zepper
Formerly Fx3
Posts: 3262
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: gcc rm problem?

Post by Zepper »

Thanks for the tip. Yeah, I had placed the string "C:\MinGW\msys\1.0\bin\" inside the makefile. I removed it (only the "rm" now) and... it worked like a charm.
Post Reply