Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Managed Build Bug?

Hi Emiliano,


It is really strange for me why the LIBRARIES options are not handled in the Tool.getToolCommandFlags(). I have also noticed that the IOption.OBJECTS options are not handled there also. This is definitely a bug and I’m going to fix this. Thanks for finding and reporting the problem.





From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Emiliano Lesende
Sent: Tuesday, June 21, 2005 7:09 AM
To: CDT General developers list.
Subject: [cdt-dev] Managed Build Bug?


I was testing today my own toolchain when I came across something really weird. I added a few library paths to the linker and when the makefile generator builded the makefile they didn't showed up. After careful browsing of source code and debugging, I came to realize that my toolchain defined the library inputs as "libs" type, not stringList.

Then the generator called the getToolCommandFlags on the Tool class to populate command arguments for the linker, but that method contains a case switch that doesn't contain IOption.LIBRARIES, so they will never get returned.

Am I doing something wrong? Or is it really a bug?


Back to the top