Code::Blocks Forums

User forums => Help => Topic started by: Denis on January 04, 2008, 08:48:26 pm

Title: Extension of output resource file
Post by: Denis on January 04, 2008, 08:48:26 pm
CeGCC (http://cegcc.sourceforge.net/ (http://cegcc.sourceforge.net/)) linker uses only .rsc resource files to link. I want to compile (and later to link) .rc file into file with "rsc" extension not "res". How to do it?

Title: Re: Extension of output resource file
Post by: mariocup on January 04, 2008, 09:54:14 pm
Hi,

just open the CB menu settings/compiler and debugger settings and select your compiler. Then click the tab other settings and push the button advanced options.
In the advanced compiler options open the tab Others and configure the object file extension.

Bye
Title: Re: Extension of output resource file
Post by: Denis on January 04, 2008, 10:05:16 pm
But I want to change extension for compiled resource files not for object ones
Title: Re: Extension of output resource file
Post by: Denis on January 05, 2008, 08:49:56 am
Hehe :) It was a simple solution for me. I added "-O coff" into command line of resource compiler and it started to produce resource file with right format even for ".res" extension :)