I wanted to set up Code::Blocks for the ELF GCC on Windows.
I wanted to manage the code for my very little operating system kernel.
But there were some trouble with the configuration.
I had copied the GCC compiler settings and I had changed some settings.
Then the compiling and the linking have worked.
Today I started Code::Blocks and there was shown up a big error window. ("Compiler auto-detection")
All relative compiler paths are displayed invalid.
Why doesn't relative paths work any more, when I have added a custom compiler?
Is it a bug?
My settings in "
default.conf":
<user_sets>
<gccelf>
<NAME>
<str>
<![CDATA[GNU GCC Compiler ELF]]>
</str>
</NAME>
<PARENT>
<str>
<![CDATA[gcc]]>
</str>
</PARENT>
<COMPILER_OPTIONS>
<str>
<![CDATA[-m32 -ffreestanding -Wall -nostdinc;]]>
</str>
</COMPILER_OPTIONS>
<LIBRARIES>
<str>
<![CDATA[lib;lib\gcc\i586-elf\4.4.0;]]>
</str>
</LIBRARIES>
<INCLUDE_DIRS>
<str>
<![CDATA[include;lib\gcc\i586-elf\4.4.0\include;]]>
</str>
</INCLUDE_DIRS>
<MASTER_PATH>
<str>
<![CDATA[$(Codeblocks)\..\MinGW\OSprogramming\lib\gcc\i586-elf\4.4.0]]>
</str>
</MASTER_PATH>
<C_COMPILER>
<str>
<![CDATA[i586-elf-gcc.exe]]>
</str>
</C_COMPILER>
<CPP_COMPILER>
<str>
<![CDATA[i586-elf-g++.exe]]>
</str>
</CPP_COMPILER>
<LINKER>
<str>
<![CDATA[i586-elf-ar.exe]]>
</str>
</LINKER>
<LIB_LINKER>
<str>
<![CDATA[i586-elf-ld.exe;]]>
</str>
</LIB_LINKER>
<RES_COMPILER>
<str>
<![CDATA[-]]>
</str>
</RES_COMPILER>
</gccelf>
<nasm>
<NAME>
<str>
<![CDATA[NASM Netwide Assembler]]>
</str>
</NAME>
<PARENT>
<str>
<![CDATA[gcc]]>
</str>
</PARENT>
<COMPILER_OPTIONS>
<str>
<![CDATA[-f elf32;]]>
</str>
</COMPILER_OPTIONS>
<MASTER_PATH>
<str>
<![CDATA[$(Codeblocks)\..\NASM]]>
</str>
</MASTER_PATH>
<C_COMPILER>
<str>
<![CDATA[nasm.exe]]>
</str>
</C_COMPILER>
<CPP_COMPILER>
<str>
<![CDATA[nasm.exe]]>
</str>
</CPP_COMPILER>
<MAKE>
<str>
<![CDATA[make.exe]]>
</str>
</MAKE>
<switches>
<LOGGING int="1" />
</switches>
</nasm>
</user_sets>