Bug #10611 2007-03-12 13:31
vincentb
Import of MS VC++ 6.0 compiler options files
I imported an MS VC++ 6.0 workspace with CB "svn build rev 3677". My Ms project contained a compiler option :
@my_file
where my_file is a file name refering to a file containing compiler options, such as /D (preprocessor definitions equivalent to -D option of gcc).
I don't think that gcc has the same possibility of using '@' type of options, because in the GNU world this kind of things is handled at the make file level rather than at the compiler command line level.
Just for my own problem I converted my_file to a header file, and used the -imacros gcc compiler option. This was fine for me because my_file contained only /D type of options and no other options (like /I that are equivalent to GCC -I).
For some reason, it was better for me to keep the same way as with MS VC++ and not to do those definitions by setting #include directives directly into source code.
Best regards,
Vincent.
- Category
- Plugin::Any
- Group
- Status
- Closed
- Close date
- 2007-03-28 11:04
- Assigned to
- biplab
History
Bug is fixed.
Now if GCC is used, then C::B will parse the *response file* for compiler or linker options. If it can't open the file it will use -imacros hack.
Thanks for reporting the bug.