User forums > Using Code::Blocks

Adding objects to a list

(1/1)

hckr83:
I am needing to add an external object file to the list, i would compile it in codeblocks but its asm so i cant, i have looked and tried just about everything i can think of to add a simple .o file to the linker object list
can someone please give me a workaround or a way to do this

Urxae:
Project menu (or right-click on project name in the treeview), select Build options. Go to the target you want to add the object files, linker tab, and put their names in the "Other linker options" text area (one per line).

EDIT: Or just use Yiannis' better method below :roll:.

mandrav:
Add your object file in the project, right-click on it in the project tree, select "Properties" and click "Link".

rickg22:
is that a new feature?

mandrav:

--- Quote from: rickg22 on November 06, 2005, 01:38:36 am ---is that a new feature?

--- End quote ---

No, it's been there forever...

Navigation

[0] Message Index

Go to full version