News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

$link_objects - how it work?

Started by Solovok, December 29, 2009, 12:30:33 PM

Previous topic - Next topic

Solovok

Hello!

I have a small project: main.c foo.c bar.c

This post-building command work OK:

$linker -o $exe_output $(TARGET_OBJECT_DIR)main.o $(TARGET_OBJECT_DIR)foo.o $(TARGET_OBJECT_DIR)bar.o $link_options

But this command did not work:

$linker -o $exe_output $link_objects $link_options

Why?


P.S. Code::Blocks 8.02, GNU AVR GCC Compiler, WinXP