Page 1 of 1

No Linker Command??

Posted: Sat Oct 22, 2016 8:53 pm
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.

Re: No Linker Command??

Posted: Sat Oct 22, 2016 10:43 pm
by eranif
Please post a feature request on GitHub