Help for use the bit script under cygwin!

Puro Markku markku.puro at insta.fi
Fri Jan 18 09:57:05 UTC 2002


Hi All,

I run into similar problems with newer cygwin1.dll(cygwin-1.3.4 ...
cygwin-1.3.6)

Cygwin-tool versions that I'm using are:
 autoconf autoconf-2.13-2.tar.gz
 automake automake-1.4-4.tar.gz
 cygwin   cygwin-1.3.2-1.tar.gz
 binutils binutils-20011002-1.tar.bz2 
 gcc 	    gcc-2.95.3-5.tar.bz2 
 make     make-3.79.1-4.tar.bz2
(at least those seems to work whithout any 'major' problems)

------------------------------------------------------------------------
Markku Puro           markku.puro at insta.fi          Sarankulmankatu 20
                      tel.   +358 3  2659 769       FIN-33900 Tampere
INSTRUMENTOINTI OY    mobile +358 40 7092 769       http://www.insta.fi
C3i Systems           fax    +358 3  2659 501


> -----Original Message-----
> From: dei dei [mailto:leo_dvdv at yahoo.com.cn]
> Sent: 18. tammikuuta 2002 3:51
> To: rtems-users at OARcorp.com
> Subject: Help for use the bit script under cygwin!
> 
> 
> 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