Code::Blocks Forums

User forums => Help => Topic started by: Wahooney on May 12, 2008, 02:11:24 pm

Title: Strange error on compile, MinGW32
Post by: Wahooney on May 12, 2008, 02:11:24 pm
I'm getting this strange error after rebooting. Before the reboot code::blocks compiled without a problem, but now I get this:
Code
mingw32-g++.exe: installation problem, cannot exec `as': Invalid argument

EDIT: Some info that may help, Windows XP, MinGW 3.4.5, Code::Blocks SVN 5020. mingw, mingw\bin, mingw\lib in PATH.

I appreciate any help guys.

Thanks.
Title: Re: Strange error on compile, MinGW32
Post by: gReaen on May 16, 2008, 08:52:07 am
Hi,
I'm just guessing... I think even <drive>:\MinGW\mingw32\bin should be in your path variable since as.exe is located there..
Title: Re: Strange error on compile, MinGW32
Post by: Jenna on May 16, 2008, 09:05:06 am
Code
mingw32-g++.exe: installation problem, cannot exec `as': Invalid argument
Can you post the full commandline ?

To switch it on change "Settings -> Compiler and debugger... -> Global compiler settings -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline".