This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 GCC - Executable file on windows platform

Note: This was originally posted on 10th January 2012 at http://forums.arm.com

Hi everyone

I am working with DS-5,on Windows Xp
inorder to get .EXE(executable) file  for a basic C program by using ds-5 GCC compiler, what are the steps i should follow ?
In detail, what is the type of the project i should select executable/makefile/shared library/static library ?
in what menu, i should specify the ds-5 GCC toolchain ?
what are the appropriate commands for generating .EXE file

please help me out on this


Parents
  • Note: This was originally posted on 12th January 2012 at http://forums.arm.com

    sorry mate, for the confusion

    i am building on windows and i want to generate that application also for windows
    so as per your reply, DS-5 GCC supports linux application generation
    so, to generate applications for Windows, what is the toolchain required?
    will MinGW solve my problem?

    This post covers essentially the same question:

    http://forums.arm.co...ram-on-eclipse/

    Just to be clear, I assume that even though you are building on Windows, you are generating an application for Linux (the DS-5 GCC only supports generating Linux applications and libraries).

    For a Linux application, you can select either of the following from the New Project -> C Project dialog:
    • Project Type = Executable / Empty Project, Toolchain = DS-5 GCC
    • Project Type = Makefile project / Empty Project, Toolchain = DS-5 GCC
    The former creates a CDT managed project, where Eclipse/CDT works out what to build and how to build it. The later uses a makefile, and is useful if you want the ability to build your project outside of Eclipse. Note that the makefile project does not generate a makefile by default, but can be configured to do so with some additional steps:

    • Right-click on your project in the Project Explorer viewand click on Properties in the menu. In the Properties dialog, select the C/C++Build tab, and then ensure the "Generate Makefiles automatically" isenabled. Then click OK to close the dialog. Now when you build, the makefile isgenerated and the build should complete.



Reply
  • Note: This was originally posted on 12th January 2012 at http://forums.arm.com

    sorry mate, for the confusion

    i am building on windows and i want to generate that application also for windows
    so as per your reply, DS-5 GCC supports linux application generation
    so, to generate applications for Windows, what is the toolchain required?
    will MinGW solve my problem?

    This post covers essentially the same question:

    http://forums.arm.co...ram-on-eclipse/

    Just to be clear, I assume that even though you are building on Windows, you are generating an application for Linux (the DS-5 GCC only supports generating Linux applications and libraries).

    For a Linux application, you can select either of the following from the New Project -> C Project dialog:
    • Project Type = Executable / Empty Project, Toolchain = DS-5 GCC
    • Project Type = Makefile project / Empty Project, Toolchain = DS-5 GCC
    The former creates a CDT managed project, where Eclipse/CDT works out what to build and how to build it. The later uses a makefile, and is useful if you want the ability to build your project outside of Eclipse. Note that the makefile project does not generate a makefile by default, but can be configured to do so with some additional steps:

    • Right-click on your project in the Project Explorer viewand click on Properties in the menu. In the Properties dialog, select the C/C++Build tab, and then ensure the "Generate Makefiles automatically" isenabled. Then click OK to close the dialog. Now when you build, the makefile isgenerated and the build should complete.



Children
No data