Author Topic: The CodeBlocksSVN20060102-ANSI can't compile the file.  (Read 5518 times)

bud

  • Guest
The CodeBlocksSVN20060102-ANSI can't compile the file.
« on: January 05, 2006, 11:17:46 am »
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?
« Last Edit: January 05, 2006, 11:21:39 am by bud »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The CodeBlocksSVN20060102-ANSI can't compile the file.
« Reply #1 on: January 05, 2006, 11:45:52 am »
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."