Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Logic PD support staff and engineers participate, Logic PD does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Logic PD engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Logic PD product download, please subscribe to the TDG Forum of interest.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Oct 2009 01:56 AM by  gokbektas
Can not run GNU Tools under Cygwin-Windows
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

gokbektas



New Member


Posts:
New Member


--
08 Oct 2009 01:56 AM
    1- Downloaded and unpacked the cygwin.zip from LogicPD website
    2- Run setup.exe

    2a. Welcome Screen > Next
    2b. Choose a Download Source > Install From Local Directory > Next
    2c. Select Root Install Directory >

    Root Directory : C:\cygwin
    Install for: All Users
    Default Text File Type : Unix > Next

    2d. Select Local Package Directory > E:\Logic\LH7A404\Software Development Tools\cygwin > Next
    2e. Select Packages >

    All : Default
    Misc : Default
    [img:1h332i1s]http://img17.imageshack.us/img17/3461/cygwinsetup1.png[/img:1h332i1s]
    [img:1h332i1s]http://img30.imageshack.us/img30/9643/cygwinsetup2.png[/img:1h332i1s]
    > Next

    2f. Progress - Cygwin starts being installed.
    2g. Installation completes. Create icons on desktop and Start Menu. > Finish

    3. Download and execute

    "e:\Logic\LH7A404\Software Development Tools\gnutools_install-logicpd-v3-1.exe"

    3a. GNU Cross Development Toolchain
    binutils-2.15
    gcc-3.4.3
    gdb-6.0
    bdm-1.3.0
    Cygwin directory identified at [ c:\cygwin ] > Next

    3b. Choose Arm tools to install ( ARM - LH75401-LH79520-LH7a400-LH7a404, imx31.... )
    > Install

    3c. Installing arm-tools > Finish


    4. Download and install:

    1008260_revA_apps_install.exe

    4a. Welcome screen. Cygwin directory identified at [C:\cygwin] > Next

    4b. Select Sample Applications > Next

    4c. Destination Folder :

    C:\cygwin\home\logic\sample_app\2.3.5 >Install

    4d.Finish


    5. Run Cygwin

    Copying skeleton files
    The files are for the user to personalise
    their cygwin experience

    These will never be overwritten
    ...
    .
    .



    Gkhn@x ~
    $


    (Command line appears)

    cd /home/logic/sample_app/2.3.5/led_flasher/

    Gkhn@x cd /home/logic/sample_app/2.3.5/led_flasher/

    (directory changed)
    $ make clean >enter

    rm *.o arch/*/*.o api.lds



    $ make > enter

    Sample Application Build Tool

    module? 8 > enter (LLH7a404_11)



    Select Program Location:

    2 > enter (ram)



    Then please see the screenshot. arm-elf-gcc.exe gives an exception message.

    [img:1h332i1s]http://img210.imageshack.us/img210/3367/gnutoolsproblem.png[/img:1h332i1s]

    None of the executables placed in "cygwin/logicpd/gnutools/v3-1/bin" ie. arm-elf-ar.exe, arm-elf-cpp.exe, arm-elf-nm.exe, arm-elf-strip.exe, wish84.exe, none of them work. They all give the same exception handler message. I believe somehow they are not valid executable files for Cygwin under Windows.


    The executable files under "cygwin/logicpd/gnutools/v3-1/arm-elf/bin" runs without exception messages. ie. gcc.exe, ar.exe, ld.exe

    I completed all steps by including all processors and source code in STEP 3B. It does not work.

    My OS is Windows XP Professional and CPU is Intel Q6000 2.4GHz Quad Core CPU. We've Fedora, Ubuntu and Pardus Linux distributions installed on other machines also.
    You are not authorized to post a reply.