News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The CodeBlocksSVN20060102-ANSI can't compile the file.

Started by bud, January 05, 2006, 11:17:46 AM

Previous topic - Next topic

bud

My OS is Win98 SE.
I use CodeBlocksSVN20060102-ANSI and wxWidgets-2.6.2_DLLs_20051012 from http://gda.utp.edu.co/~ceniza/CodeBlocks/.
I use the GCC-4.1.0 compiler from http://gda.utp.edu.co/~ceniza/GCC-4.1.0/.
I casually edited a C file and compiled it.
But the CodeBlocks showed:
Compiling: k.c
mingw32-gcc.exe: _spawnv: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
---------------------------
Why didn't the CodeBlocks compile this file?

thomas

Although the information you provide (what do you compile, what is the complete commandline..?) is rather sparse, that particular error looks like gcc cannot find one of its sub-tools (probably g++). Remember that gcc is only a frontend which delegates the actual work of compiling, assembling, and linking to a number of other tools (which are part of the gcc package). A _spawnv error suggests that one of these is not good.

You use a custom build from a development snapshot of an alpha-stage compiler... need I say more :)
Very likely, some random component of the compiler is not in the right place (for whatever reason), and it will probably work fine if you use a clean installation.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."