Help for use the bit script under cygwin!

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jan 22 12:01:15 UTC 2002


First we now recommend doing the build using
configure and make rather than bit.  Second,
is your intent to use RTEMS 4.5 or snapshots?
Prebuilt cygwin hosted tools are available
for 4.5 and I hope to upload new Cygwin tools
for snapshots today.

[NOTE: The new tools will be built Canadian
cross on a Linux box so I am eager to hear feedback.
Doing this significantly eases the burden of
buildingcygwin binaries.]

dei dei wrote:
> 
> Hello all,
>     I have a problem building RTEMS toolchain under
> the Cygwin-2.125.2.10 environment on Win NT. The
> operations are as follows...
>    1) I have modified the path adding:
>        PATH=/usr/local/rtems/bin:$PATH
>    2) make a little trick to get this compilation:
>        ln gcc.exe cc.exe in/bin         (in /bin)
>        ln make.exe gmake.exe in/bin     (in /bin)
>        cd gcc-2.95.2    (in tools directory)
>        ln -s ../newlib-1.8.2/newlib .
>    3) in order to compile without problems and another
> last trick: change with  regedit.exe
> 
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW\cmdline
> from
>     '%SystemRoot%\system32\ntvdm.exe' to
>     '%systemRoot%\system32\ntvdm.exeXXX'
> to disable the execution of msdos 16 bits programs.
> 
>    4) execute the follow instruction
>     ./bit i386 >bit.log 2>&1 &
> 
> The info of errors are in file of bit.log, by the
> way,I have followed the instructions in the
> Getting Started guide.
> 
> Thanks for any help!
> 
> David
> 
> -----The partiall content of bit.log is following ----
> 
> GNU makeinfo 1.68 or newer is required to build some
> of the documentation included with this package.  You
> have version makeinfo (GNU texinfo) 4.0
> 
> Building a cross GNU C/C++ toolset with the following
> configuration:
>     BINUTILS      -->  binutils-2.9.5.0.24
>     GCC           -->  gcc-2.95.2
>     NEWLIB        -->  newlib-1.8.2
>     TARGET        -->  i386-rtems
>     INSTALL POINT -->  /usr/local/rtems
>     BUILD DOCS    -->  yes
> 
> Making directory for install point (/usr/local/rtems)
> ...
> 
> Compilation of binutils will occur in
> build-i386-tools.
> 
> BIT: Running in
> /home/Administrator/tools/build-i386-tools:
> + ../binutils-2.9.5.0.24/configure --target=i386-rtems
> --verbose --prefix=/usr/local/rtems
> Configuring for a i686-pc-cygwin32 host.
>                 .
>                 .
>                 .
> BIT: Running in
> /home/Administrator/tools/build-i386-tools:
> + gmake all info install
> gmake[1]: Entering directory
> `/home/Administrator/tools/build-i386-tools/libiberty'
>                 .
>                 .
>                 .
> gcc -c -DHAVE_CONFIG_H -g -O2 -W -Wall -I.
> -I../../binutils-2.9.5.0.24/libiberty/../include
> ../../binutils-2.9.5.0.24/libiberty/strerror.c
> ../../binutils-2.9.5.0.24/libiberty/strerror.c:461:
> conflicting types for `sys_errlist'
> /usr/include/sys/errno.h:23: previous declaration of
> `sys_errlist'
> gmake[1]: *** [strerror.o] Error 1
> gmake[1]: Leaving directory
> `/home/Administrator/tools/build-i386-tools/libiberty'
> gmake: *** [all-libiberty] Error 2
> 
> ERROR: **** FAILED **** unable to build binutils
> 
> Started:   Thu Jan 17 08:55:48 2002
> Finished:  Thu Jan 17 09:00:21 2002
> 
> Directory size information:
> 1739    build-i386-tools
> 0       /usr/local/rtems
> 
> The src and build-i386-tools subdirectory have NOT
> been removed.
> 
> _________________________________________________________
> Do You Yahoo!? µÇ¼Ãâ·ÑÑÅ»¢µçÓÊ! http://mail.yahoo.com.cn
> 
> <font color=#6666FF>ÎÞÁÄ£¿ÓôÃÆ£¿¸ßÐË£¿Ã»ÀíÓÉ£¿¶¼À´ÁÄÌì°É£¡</font>¡ª¡ª
> ÑÅ»¢È«ÐÂÁÄÌìÊÒ! http://cn.chat.yahoo.com/c/roomlist.html

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list