News:

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

Main Menu

Suggestion: Add object file list for linker

Started by dfatcb, May 25, 2012, 06:36:53 PM

Previous topic - Next topic

dfatcb

The linker options has an option to list libraries.  However adding object files doesn't work with many linkers as they have separate options for library or object file.  If there was another list to add object files it would be very nice. 


oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

dfatcb

I mean either have the library list able to determine .obj type files and pass them to the linker in the correct location or have a separate list it can pass to the linker (along with the various .obj files just produced by compiling source).  wlink for example has a separate -LIBR vs -FIL option .. obj files go to the -FIL option.

oBFusCATed

What is wlink?
Please post the full log and then pinpoint what is wrong with the current implementation in C::B.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]