This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: migration from win2k to win7


OK, I finally had the time to get back to the migration...

I convinced Macraigor Systems to send me the libgcc.a they built with their cross-compiler.
With the correct libgcc.a I got the Win7 environment to link, finally.
The pieces:
* Cygwin 1.7.17
* eCos 1.3.1
* GNU arm-elf toolchain 4.6.0
* added compiler option -fno-use-cxa-atexit


After cleaning up hundreds of new compiler warnings I have a firmware build to test.

Thank you to all who gave suggestions.

Regards,

Christopher Biessener

P.S. To answer John, the old developers here left us an app called ARMELFINSTALLATION.EXE which would install the 2.95 toolchain. That installer would not work on Win7.

Aside - I found the eCos 1.3.1 config file for our ARM7. Is there a guide anywhere to assist in converting a 1.3.1 eCos config to eCos 3.0? I tried loading the old config in eCos 3.0 and got endless errors of unsupported options.

On 03/01/2013 02:21 AM, John Dallaway wrote:
Hi Christopher

On 28/02/13 18:25, Christopher Biessener wrote:

I am new to embedded systems and got handed the task of migrating our
build environment from win2k to win7.
In win2k they are using Cygwin 1.3 / eCos 1.3.1 / gcc 2.95 toolchain.
[ snip ]

The arm-elf 2.95 toolchain will not install in win7, so I began
upgrading stuff.
First of all, can you explain what you mean by "The arm-elf 2.95
toolchain will not install in win7"? Is there an error during the
toolchain installation process or does the toolchain not execute under
Cygwin 1.7.x? What error message are you observing?

Assuming that the toolchain does not execute, and given your objective
of minimising change, I would suggest attempting to build the arm-elf
2.95 toolchain under Cygwin 1.7.x. That would deliver generated eCos
application code identical to what you have been generating under Win2k.
The (very old) instructions for building the arm-elf 2.95 toolchain for
eCos under Cygwin are at:

http://ecos.sourceware.org/tools/win-arm-elf.html

If you attempt to use a much more recent arm-elf toolchain to built eCos
1.3.1 sources, you will find quite a number of source code issues to
work through.

I hope this helps...

John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]