Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Use C++ other than GNU compiler


For a standard make project, you can specify anything you want in your makefile directly. If you're using cdt 1.2 you can use the managed make feature's plugin.xml to modify the build commands. It's in plugins/org.eclipse.cdt.managedbuilder.ui/plugin.xml. Look for your platform's <target name="Cygwin | Solaris | Linux" and you'll see the tools for that target. Note that you can only have one compiler per subset of sources (eg tool1 for sources = c, tool2 for source = cpp, cc) so that sources don't overlap different tools. The tool "command" attribute is where you specify your compiler/linker. One more thing: the target tool command=g++ is specified as the compiler tool in the parent platform target (isAbstract=true), and also as the linker tool for the type of output (library/executable) in the child target (isAbstract=false) inheriting the parent's tools.

Hope that helps,
Tanya



"Subhrojyoti" <subhro_c@xxxxxxxxxxxxxx>
Sent by: cdt-dev-admin@xxxxxxxxxxx

10/01/2003 07:57 AM
Please respond to cdt-dev

       
        To:        <cdt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [cdt-dev] Use C++ other than GNU compiler



Hi, can I use any other C++ compiler other than GNU C++ compiler to run my
C++ program thru Eclipse. Pls. tell me how to configure, so that I can see
the results in the build console of eclipse

-Subhro



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top