User forums > Using Code::Blocks

adding object files to static lib project

<< < (2/2)

oBFusCATed:
Have you tried to make the files link?

Right click on the file -> Properties -> Build -> Link file.

I don't know if this will help. If it doesn't you'll have to package the .o files yourself in a post build step.

dfatcb:
yeah, they were set like that by default.  I'll have to do the post build step.  do you happen to know the linux command to add an .o file to a .a file?

oBFusCATed:
I guess "man ar" should tell you the correct parameters.

Navigation

[0] Message Index

[*] Previous page

Go to full version