Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] C++ Compiler and Linker Options

Anyway, we┬╣re all watching this conversation. Please keep things civil.

As is probably poorly documented, Makefile projects mean all settings are
in the Makefile in the project you imported. CDT does not provide any GUI
that helps you with that, other than the Makefile editor itself which
provides a little, but admittedly not much.

Doug.

On 2015-08-10, 10:22 AM, "cdt-dev-bounces@xxxxxxxxxxx on behalf of Derek
Morris" <cdt-dev-bounces@xxxxxxxxxxx on behalf of dmsubs@xxxxxxxxxxxxx>
wrote:

>If it is a makefile project, that means that YOU are providing the
>makefile - including ALL settings for ALL tools used in the Makefile.
>That is, there are no settings to change.
>
>You need to RTFM to understand how it works.
>
>On 10 Aug 2015, at 15:13, Eclipse.KBase <eclipse.kbase@xxxxxxxxx> wrote:
>
>> Derek,
>> 
>> I have created the project by importing an existing makefile project.
>>The project is a simple wx-widgets hello-world application that compiles
>>just fine in its own samples directory from the command-line. However,
>>importing the same project in Eclipse doesn't go well because I am not
>>able to specify the C++ compiler and linker options that I get from
>>wx-config.
>> 
>> Though I see ABSOLUTELY NO option to just paste all compiler options
>>given by wx-config and all linker options given by the same in Eclipse,
>>I do find Project->Properties->C/C++ General->Paths & Symbols where I
>>can specify Include and Library directories (as well as libraries).
>>However, when I specify wx libraries there then Eclipse doesn't like wx
>>header directories specified in double quotes - it accepts includes only
>>when I specify them in angle-brackets. Can you also tell me how I can
>>get it to like include directories specified in double quotes?
>> 
>> Regards,
>> Eclipse Newbie
>> 
>> On 08/10/2015 06:56 PM, Derek Morris wrote:
>>> The settings are not available until you create a project.
>>> 
>>> Why do you not read the manual?
>>> 
>>> BTW: This is not where you ask question on how to use CDT. A better
>>>place for users like you is
>>> http://www.eclipse.org/forums/index.php?t=thread&frm_id=80
>>> 
>>> 
>>> 
>>> On 10 Aug 2015, at 14:51, Eclipse.KBase <eclipse.kbase@xxxxxxxxx>
>>>wrote:
>>> 
>>>> Hi Derek,
>>>> 
>>>> Of course, this is a very basic question and the support for such
>>>>basic stuff should be provided simply. I cannot even see any support
>>>>to specify C++ compiler options and C++ linker options. Can you tell
>>>>me where I can specify them? I am using Eclipse CDT Mars.
>>>> 
>>>> Best regards,
>>>> Eclipse Newbie
>>>> 
>>>> On 08/10/2015 06:11 PM, Derek Morris wrote:
>>>>> This is such a basic question, I am surprised that you didn't find
>>>>>it in the documentation. You did LOOK in the documentation, didn't
>>>>>you?
>>>>> 
>>>>> Hint1. Help-Help Contents
>>>>> Hint2. Create a project...
>>>>> 
>>>>> On 10 Aug 2015, at 14:06, Eclipse.KBase <eclipse.kbase@xxxxxxxxx>
>>>>>wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I am new to Eclipse and have just extracted Eclipse CDT Mars to do
>>>>>>some C++ programming. The reason I want to use Eclipse is its
>>>>>>integrated support for task/issue/project/version control/build
>>>>>>systems.
>>>>>> 
>>>>>> However, to my surprise, there are absolutely NO options anywhere
>>>>>>to specify C++ compiler and linker switches/options. I couldn't see
>>>>>>any. Obviously the support to specify C++ compiler and Linker
>>>>>>options is there but it is hidden at some very deep level.
>>>>>> 
>>>>>> Can any kind sole point me to the right direction? I really want to
>>>>>>use this IDE.
>>>>>> 
>>>>>> Best regards,
>>>>>> Eclipse Newbie
>>>>>> _______________________________________________
>>>>>> cdt-dev mailing list
>>>>>> cdt-dev@xxxxxxxxxxx
>>>>>> To change your delivery options, retrieve your password, or
>>>>>>unsubscribe from this list, visit
>>>>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>>>> _______________________________________________
>>>>> cdt-dev mailing list
>>>>> cdt-dev@xxxxxxxxxxx
>>>>> To change your delivery options, retrieve your password, or
>>>>>unsubscribe from this list, visit
>>>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>>>> 
>>>> _______________________________________________
>>>> cdt-dev mailing list
>>>> cdt-dev@xxxxxxxxxxx
>>>> To change your delivery options, retrieve your password, or
>>>>unsubscribe from this list, visit
>>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>> _______________________________________________
>>> cdt-dev mailing list
>>> cdt-dev@xxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or
>>>unsubscribe from this list, visit
>>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>> 
>> 
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>>from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>To change your delivery options, retrieve your password, or unsubscribe
>from this list, visit
>https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top