Help for use the bit script under cygwin!
dei dei
leo_dvdv at yahoo.com.cn
Thu Dec 27 02:10:26 UTC 2001
Hello all:
I'm having a problem building RTEMS-4.5.0 under
the last Cygwin environment.
I have modified the path adding:
PATH=/opt/rtems/bin:$PATH
and make a little trick to get this compilation:
ln gcc.exe cc.exe in/bin
ln make.exe gmake.exe in/bin
in order to compile without problems and another last
trick:
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.
when executing
./bit i386-coff >bit.log 2>&1 &
By the way,I have followed the instructions in the
Getting Started guide.
An error appear.
Thanks for any help!
--Output follows(bit.log)--
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
Copyright (C) 1999 Free Software Foundation, Inc.
There is NO warranty. You may redistribute this
software
under the terms of the GNU General Public License.
For more information about these matters, see the
files named COPYING.
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-rtemscoff
INSTALL POINT --> /opt/rtems
BUILD DOCS --> yes
Making directory for install point (/opt/rtems) ...
Compilation of binutils will occur in
build-i386-coff-tools.
BIT: Running in /tools/build-i386-coff-tools:
+ ../binutils-2.9.5.0.24/configure
--target=i386-rtemscoff --verbose --prefix=/opt/rtems
Configuring for a i686-pc-cygwin32 host.
Created "Makefile" in /tools/build-i386-coff-tools
using "mh-frag"
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -luser32
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 -W -Wall
conftest.c' failed.
*** You must set the environment variable CC to a
working compiler.
ERROR: **** FAILED **** unable to configure binutils
Started: Mon Dec 24 09:24:24 2001
Finished: Mon Dec 24 09:24:40 2001
Directory size information:
56 build-i386-coff-tools
0 /opt/rtems
The src and build-i386-coff-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