From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9097 invoked by alias); 13 May 2011 08:30:01 -0000 Received: (qmail 9035 invoked by uid 22791); 13 May 2011 08:29:59 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail.planet-school.de (HELO turboconrad.planet-school.de) (194.116.187.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 May 2011 08:29:43 +0000 Received: from chronus.heim.netz (i577B6D5B.versanet.de [87.123.109.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: postmaster@matronix.de) by turboconrad.planet-school.de (Postfix) with ESMTPSA id 021CEB6A011; Fri, 13 May 2011 10:29:38 +0200 (CEST) Received: from rhodos.emsp.tu-berlin.de ([130.149.48.105]) by chronus.heim.netz with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QKnkg-0002bq-4V; Fri, 13 May 2011 10:29:38 +0200 From: Manuel Borchers To: Alex Schuilenburg Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <4DCAB400.3060604@ecoscentric.com> References: <3999221346CF4451878BF12BA616247D@DESKTOPITRGMBH> <4DCAB400.3060604@ecoscentric.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 13 May 2011 09:30:00 -0000 Message-ID: <1305275374.2883.20.camel@netxaccos> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Re: [ECOS] Development environment under Windows without cygwin? X-SW-Source: 2011-05/txt/msg00035.txt.bz2 Hi! Am Mittwoch, den 11.05.2011, 17:06 +0100 schrieb Alex Schuilenburg:=20 > The new 3.1 eCosPro Developers Kits (commercial versions of eCos, the > host tools and development environement) do not use cygwin at all. >=20 > ecosconfig and the GUI configtool shipped with eCosPro 3.1, as well as > all the GNU toolchains, run natively on all versions of Windows from XP > onwards, so you can stick with what you know. Build times are also > comparable to those achieved on Linux hosts for same-spec machines.=20 This is somewhat related to the original posters question, but first a little background what I'm trying to do: Currently, we (well, actually it's just me here ;) are trying to setup an environment where our students in a lab could use eCos. I'm developing using a linux environment using the ecoscentric-provided binary toolchains from 2008. This is perfectly adequate for my stuff. Unfortunatly, our PCs in the lab are windows only (and administration isn't done by me, so installing stuff is another story). Yesterday, I tried for a few hours to setup a flow, where I would generate the kernel libraries for the lab and the students just need to link their apps against the provided kernel. Currently, we have a quite old arm-elf toolchain (4.0.3) on the windows boxes. So grabbed a 4.0.4 compiler for my linux box. Using a virtual machine with windows I was quite successful with this setup. Linking went fine in this scenario, but executing the small demo app failed. After a little research I found out what was failing: the DHCP managment thread bailed out with an assertion that the stack base wasn't properly aligned. Using arm-elf-nm I saw that the assertion was quite right. The linker linked the stack to an odd address! I double checked the ld file, and there clearly was the ALIGN(0x4) at the .bss section. So, I guess I found a linker/compiler bug. I could work around the problem by adding an align attribute to the stack definition, but I've a little stomach-ache doing so and that such an error might occure elsewhere, too. And now back to the original topic: I tried to get the ecoscentric-provided arm-eabi toolchain running under windows. I failed doing so. Even after installing cygwin (which wouldn't be that easy to install to the lab PCs) and shuffling dll's around. I guess, the toolchain is too old to get it properly running on modern cygwin/windows machines. So the question is: are there plans by ecoscetric to contribute a newer arm-eabi windows toolchain to the public? That would be really great, because I really don't like to build one on my own for windows... That one in the commercial version being cygwin-free raised my attention and this question ;) Cheers, Manuel --=20 Dipl.-Ing. Manuel Borchers Technische Universit=C3=A4t Berlin Institut f=C3=BCr Energie- und Automatisierungstechnik Fachgebiet Elektronik und medizinische Signalverarbeitung Sekretariat EN3 Einsteinufer 17 10587 Berlin Germany Tel.: +49 (30) 314-21072 Raum: EN-509 Home: http://www.emsp.tu-berlin.de/ eMail: manuel.borchers@tu-berlin.de -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss