Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Can one specify object link order?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Can one specify object link order? (Read 3330 times)
hcye
Multiple posting newcomer
Posts: 20
Can one specify object link order?
«
on:
July 18, 2007, 02:39:24 am »
Is there anyway to specify the link order of object files?
I recently had to edit my .cbp file in order to make two files link in certain order. Is there a kosher way to do this than editing the file manually? Thanks!
Huanchun
Logged
stahta01
Lives here!
Posts: 7591
Re: Can one specify object link order?
«
Reply #1 on:
July 18, 2007, 03:43:16 am »
If you mean compile in a certain order then right click on file and choose "Properties" Select "build" Tab and adjust "Priority weight" as needed. I have no idea if this fixes any thing related to link order.
Tim S
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
hcye
Multiple posting newcomer
Posts: 20
Re: Can one specify object link order?
«
Reply #2 on:
July 20, 2007, 07:48:04 am »
There is a checkbox to apply the weight to linker and it actually works!
This is a very useful feature, especially for embedded software where sometimes one needs to control the order of objects. Thanks!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Can one specify object link order?