Author Topic: Adding objects to a list  (Read 5029 times)

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
Adding objects to a list
« on: November 05, 2005, 06:33:31 am »
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

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: Adding objects to a list
« Reply #1 on: November 05, 2005, 08:33:27 am »
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:.
« Last Edit: November 05, 2005, 10:41:57 am by Urxae »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding objects to a list
« Reply #2 on: November 05, 2005, 10:04:42 am »
Add your object file in the project, right-click on it in the project tree, select "Properties" and click "Link".
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Adding objects to a list
« Reply #3 on: November 06, 2005, 01:38:36 am »
is that a new feature?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Adding objects to a list
« Reply #4 on: November 06, 2005, 10:16:33 am »
is that a new feature?

No, it's been there forever...
Be patient!
This bug will be fixed soon...