No Linker Command??

General questions regarding the usage of CodeLite
SeanRamey
CodeLite Curious
Posts: 5
Joined: Fri Oct 23, 2015 6:53 am
Genuine User: Yes
IDE Question: C++
Contact:

No Linker Command??

Post by SeanRamey »

I am trying to use CodeLite as a replacement IDE for DigitalMars C/C++ 7.51 and Open Watcom C/C++ 1.9.

I made a new Compiler in Build Settings -> Compilers. I've added the compiler and linker in the Tools section, and modified the File Types section to work with the new compiler.

The problem that I ran into is that I need a non standard build command for the new linker. It seems to be hard coded into CodeLite and so any linker that doesn't use the exact same build command as GCC's linker just won't work.

This is the hardcoded format that I found in the auto generated Makefile.

Code: Select all

$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
This is what I need:

Code: Select all

$(LinkerName) @$(ObjectsFileList), $(OutputSwitch)$(OutputFile),, $(LibPath) $(Libs) $(LinkOptions)
Is there a way to do this that I am missing? If not, please add this as a feature. IMO, a good IDE should be able to fit almost any language and provide automation of any tools needed to use said language. Even if you're IDE is only for one language, such as C, then a good IDE should be able to accomodate any toolset.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: No Linker Command??

Post by eranif »

Please post a feature request on GitHub
Make sure you have read the HOW TO POST thread
Post Reply