My observation about CL Compiler setup
Posted: Thu Sep 04, 2008 9:25 am
Hi,
After working for 2 whole days just to setup a custom compiler, below are my observation about CL Compiler Configuration. Hope it would help u to improve CL.
1, There is no way to mention "release" as configuration for workspace. Either its debug or we need to manually define a new one.
2. Project Build and project only->build, doesn't like custom compilers as seen from below code. Single file compile works but not project compile. It just says noting to be built for all and returns.
I have another project that uses gcc as compiler. For this project, project-> build, project only->build all works well
3. project build/clean doesn't respect working directory & project settings value
i have shown it with proof that the CL executes the custom compiler command from project dir & not from workingdir as mentioned in project settings dialog
4. workspace makefile's are overwritten each time before compilation below command is given
a. workspace->build/rebuild/clean
b. project->build/rebuild/clean
c. project only->build/rebuild/clean
If we have made any changes to these makefiles for testing purpose, they are lost. Since the custom compiler support is broken. i made few changes to these Makefile & found that it is of no use.
Shouldn't Makefile written during
1. Initial Workspace/Project Setup
2. Any changes in Global Build Settings & related project Settings
3. When Makefile is exported
6. Project Makefile is over-written each time
a. workspace->build/rebuild/clean
5. No option to auto detect compilers, at least popular ones. Its always assumed that gcc, g++, vc exists. An Auto-Detect Feature would be good.
TIA
Regards
Gururaja
After working for 2 whole days just to setup a custom compiler, below are my observation about CL Compiler Configuration. Hope it would help u to improve CL.
1, There is no way to mention "release" as configuration for workspace. Either its debug or we need to manually define a new one.
2. Project Build and project only->build, doesn't like custom compilers as seen from below code. Single file compile works but not project compile. It just says noting to be built for all and returns.
Code: Select all
Building: "C:/cygwin/bin/make.EXE" -j 1 -f "codelite_wrkspc_wsp.mk" type=Debug
----------Building project:[ prj_bootloader - Release ]----------
make[1]: Nothing to be done for `all'.
0 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
Code: Select all
Building: "C:/cygwin/bin/make.EXE" -j 1 -f "prj_bootloader.mk" type=Release
----------Building project:[ prj_bootloader - Release ]----------
make: Nothing to be done for `all'.
0 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
3. project build/clean doesn't respect working directory & project settings value
i have shown it with proof that the CL executes the custom compiler command from project dir & not from workingdir as mentioned in project settings dialog
4. workspace makefile's are overwritten each time before compilation below command is given
a. workspace->build/rebuild/clean
b. project->build/rebuild/clean
c. project only->build/rebuild/clean
If we have made any changes to these makefiles for testing purpose, they are lost. Since the custom compiler support is broken. i made few changes to these Makefile & found that it is of no use.
Shouldn't Makefile written during
1. Initial Workspace/Project Setup
2. Any changes in Global Build Settings & related project Settings
3. When Makefile is exported
6. Project Makefile is over-written each time
a. workspace->build/rebuild/clean
5. No option to auto detect compilers, at least popular ones. Its always assumed that gcc, g++, vc exists. An Auto-Detect Feature would be good.
TIA
Regards
Gururaja