Build Problem under Cygwin
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 26 15:15:45 UTC 2008
Building under Cygwin works fine. I updated the wiki page
http://www.rtems.com/wiki/index.php/BuildingUnderCygwin
recently. If you check out from the RTEMS CVS under Windows you have to
ensure that no UNIX to DOS line ending translation happens.
Steven Grunza wrote:
>> -----Original Message-----
>> From: rtems-users-bounces at rtems.org
>> [mailto:rtems-users-bounces at rtems.org] On Behalf Of Robert S. Grimes
>> Sent: Friday, September 26, 2008 10:30 AM
>> To: RTEMS mailing list
>> Subject: Build Problem under Cygwin
>>
>> I'm trying to build the 4.9.0 toolset under Cygwin, and I'm
>> not quite getting there. I have gotten binutils and
>> gcc/newlib built, but I can't configure autoconf-2.62. Here
>> is the output:
>>
>> $ ../autoconf-2.62/configure --prefix=/usr/rtems/4.9/bin
>> checking for a BSD-compatible install... /usr/bin/ginstall -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether /bin/sh -n is known to work... yes
>> checking for expr... /usr/bin/expr
>> checking for GNU M4 that supports accurate traces... /usr/bin/m4
>> checking how m4 supports trace files... --debugfile
>> checking for perl... /usr/bin/perl
>> checking for emacs... no
>> checking for xemacs... no
>> checking for emacs... no
>> checking where .elc files should go... ${datadir}/emacs/site-lisp
>> checking for grep that handles long lines and -e... /usr/bin/grep
>> checking for egrep... /usr/bin/grep -E
>> checking for a sed that does not truncate output... /usr/bin/sed
>> configure: creating ./config.status
>> config.status: creating tests/Makefile
>> gawk: ./confd0FP0v/subs.awk:1: BEGIN {\r
>> gawk: ./confd0FP0v/subs.awk:1: ^ backslash not last
>> character
>> on line
>> config.status: error: could not create tests/Makefile
>>
>>
>> But wait, there's more! I already have autoconf-2.61
>> installed, so I decided to hope that could work, and attempted
>> to build RTEMS itself. I get the same failure - here is the
>> relavent output:
>>
>> <snip>
>> checking for bash... /usr/bin/bash
>> configure: creating ./config.status
>> config.status: creating Makefile
>> gawk: ./confUm8h5X/subs.awk:1: BEGIN {\r
>> gawk: ./confUm8h5X/subs.awk:1: ^ backslash not last
>> character
>> on line
>> config.status: error: could not create Makefile
>> configure: error: /bin/sh '../../../rtems/tools/build/configure'
>> failed for tools/build
>>
>>
>> Notice the similarity? I couldn't find anything with Google,
>> primarily because I'm not sure what to specify to get good
>> results - either no hits or way too many. I'm hoping someone
>> can help here...
>>
>> Thanks,
>> -Bob
>>
>
> The last I checked (about a day ago) cygwin seems to no longer be
> directly "supported" for building RTEMS. My understanding is that there
> weren't enough people willing to help with cygwin and that if there
> were, then cygwin would be "supported". See
> http://www.rtems.org/wiki/index.php/DevelopmentHosts for more info.
>
> - Steven G.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
--
Sebastian Huber, Embedded Brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list