Author Topic: About comand line usage of mingw gcc  (Read 2591 times)

Offline i386

  • Single posting newcomer
  • *
  • Posts: 8
About comand line usage of mingw gcc
« on: December 28, 2013, 04:27:28 am »
I'v add path to windows path variable:
path="C:\Program Files (x86)\CodeBlocks\MinGW";"C:\Program Files (x86)\CodeBlocks\MinGW\bin";%path%

then in my work directory, star a command window, run:
mingw32-gcc -o app main.c
mingw32-gcc: error: CreateProcess: No such file or directory

If I compile using the code::blocks IDE, the project is compiled ok.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org