Help for use the bit script under cygwin!

dei dei leo_dvdv at yahoo.com.cn
Fri Jan 18 01:51:09 UTC 2002


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



More information about the users mailing list