Code::Blocks Forums

User forums => Embedded development => Topic started by: Quiss on November 15, 2012, 11:50:28 am

Title: Linking comma separated object files
Post by: Quiss on November 15, 2012, 11:50:28 am
Hi,

I'm trying to use Raisonance STM8 compiler with Codeblocks. There is nothing wrong with compilation but in the linking stage, object files must be comma separated and this is where I got stucked. In the advanced compiler options, I'm using $link_objects macro for all object files created in the compilation stage but this gives me space separated object files like;

 \Debug\sth.o \Debug\main.o

What the linker wants is;

 \Debug\sth.o,\Debug\main.o

If I write all object files manually (with commas) in the command line macro ($linker -P $objects_output_dir\sth.o,$objects_output_dir\main.o, ...), linking is successful. What can I do about this?

Edit: Forgot to say; rev 8500
Title: Re: Linking comma separated object files
Post by: Quiss on June 24, 2013, 02:52:26 pm
You can define custom object separator character since rev8757. Thank you so much.