rtems cygwin cross compiler setup problems (FIXED)

Correo Fernando-ruiz (E-mail) correo at fernando-ruiz.com
Thu Feb 15 22:42:29 UTC 2001


Congratulations.

I have only the B19. Now the B20 release of cygwin is not availiable from
cygnus. I can't find it.

Where is the place to download it?

Fernando RUIZ CASAS
home: correo at fernando-ruiz.com
work: fernando.ruiz at ctv.es


-----Mensaje original-----
De: Kirk Bateman [mailto:kirk.bateman at esgem.com]
Enviado el: jueves, 15 de febrero de 2001 16:58
Para: rtems-users
Asunto: rtems cygwin cross compiler setup problems (FIXED)


Ok folks,

Thanks for your helpful (and some funny :-) information for trying to
resolve my problems....

Eventually I have it working,

Hopefully this information will be useful to someone ?? :-)

Required files:
    from cygnus solutions:
            cygwin-b20_1-full.exe        (if you can't find it ask a gcc
palm pilot developer they probably have it)
            latest cygwin dll update     (you only need the cygwin1.dll but
its in the .tgz file)

    from oarcorp:
            rtems-base-binutils-2.9.5.0.24-1.i386.rpm
            powerpc-rtems-binutils-2.9.5.0.24-1.i386.rpm
            rtems-base-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
            powerpc-rtems-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
            rtems-base-gdb-4.18-2.i386.rpm
            powerpc-rtems-gdb-4.18-2.i386.rpm

    also required: rpm extractor for windows (rpm extractor ver 0.99 beta
release 5)

Instructions:
            Install cygwin-b20_1-full.exe        (much nicer install than
the new online setup.exe)
            Modify path in autoexec.bat to include:
c:\CYGNUS\CYGWIN~1\H-I586~1\BIN
            Reboot to activate new path

            Using rpm extractor for windows extract the files from oarcorp
(IN THE ORDER THEY ARE LISTED ABOVE !!!!!)
            note that you must exit rpm extractor between each file
otherwise it will extract them under each other (very messy) or you
                should be able to extract to the root directory

            Modify path again: add this before the previous cygnus
addition... C:\opt\rtems\powerpc-rtems\bin

            Path should now be similar to:
                set
path=C:\utils;C:\opt\rtems\powerpc-rtems\bin;c:\CYGNUS\CYGWIN~1\H-I586~1\BIN

            from the latest cygwin dll update extract the cygwin1.dll and
replace the old one.

            Reboot machine again to take account of new path....

            Hey Presto, the gcc rtems powerpc cross compiler should now work
properly.....

Kirk Bateman

I don't suffer from insanity, I enjoy every minute of it.
---
Kirk Bateman
Software Engineer - Esgem Limited
www.esgem.com
Head Office: 30 Long Street, Wotton-under-Edge, Glos GL12 7BT
Registered in England  at 4, Bramley Close, Kingswood,
Wotton-under-Edge, Glos GL12 8SF. Reg No. 3372135




More information about the users mailing list