News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

About comand line usage of mingw gcc

Started by i386, December 28, 2013, 04:27:28 AM

Previous topic - Next topic

i386

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.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]