Author Topic: Strange error on compile, MinGW32  (Read 5203 times)

Offline Wahooney

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Demon Onion Slayer
    • wahooney.net
Strange error on compile, MinGW32
« 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.
« Last Edit: May 12, 2008, 02:18:41 pm by Wahooney »
Fabricati Diem, Celerata!

Offline gReaen

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Strange error on compile, MinGW32
« Reply #1 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..

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Strange error on compile, MinGW32
« Reply #2 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".