Author Topic: Linking comma separated object files  (Read 11818 times)

Offline Quiss

  • Multiple posting newcomer
  • *
  • Posts: 76
Linking comma separated object files
« 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
« Last Edit: November 15, 2012, 12:33:28 pm by Quiss »

Offline Quiss

  • Multiple posting newcomer
  • *
  • Posts: 76
Re: Linking comma separated object files
« Reply #1 on: June 24, 2013, 02:52:26 pm »
You can define custom object separator character since rev8757. Thank you so much.