From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26481 invoked by alias); 13 Mar 2013 21:32:58 -0000 Received: (qmail 26466 invoked by uid 22791); 13 Mar 2013 21:32:56 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,TW_CX X-Spam-Check-By: sourceware.org Received: from mailfront4.g2host.com (HELO g2host.com) (208.42.184.242) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Mar 2013 21:32:50 +0000 Received: from [70.89.199.234] (account christopherpb@voomtech.com HELO [192.168.1.211]) by mailfront4.g2host.com (CommuniGate Pro SMTP 5.3.11) with ESMTPA id 100826813 for ecos-discuss@ecos.sourceware.org; Wed, 13 Mar 2013 16:32:48 -0500 Message-ID: <5140F07F.1080704@voomtech.com> Date: Wed, 13 Mar 2013 21:32:00 -0000 From: Christopher Biessener User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: <512FA115.4030808@voomtech.com> <5130651C.3010504@dallaway.org.uk> In-Reply-To: <5130651C.3010504@dallaway.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: migration from win2k to win7 X-SW-Source: 2013-03/txt/msg00029.txt.bz2 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