building RTEMS for the Coldfire with Cygwin/WinNT
Brendan Simon
brendan@dgs.monash.edu.au
Mon Aug 23 17:33:00 GMT 1999
Rudy Six wrote:
> I want to set up a RTEMS/gcc compiler on a Windows NT 4.00.1381 platform.
>
> In short: When I run the 'configure' command I get a Windows error message.
> Later when I try to 'make' the compiler, I get the error:
> *** No rule to make target
> `/build/rtems/sbc5307/build-tools/install-if-change', needed by `install'.
> Stop.
>
> Here is more detailed information on what I did:
> ------------------------------------------------
>
> I followed the instructions at
> http://www.calm.hw.ac.uk/davidf/coldfire.htm .
>
> *** 'Installing RTEMS', point 2:
> I figured that I have to extract rtems-coldfire-bsp-981206.tar.gz
> into /source/rtems-4.0.0 rather than /source to get the later
> 'configure' command (point 3) to work. Looking at the directory
> structuire this makes sence as now the bsp-packages get copied
> into the right subdirectories.
>
> *** 'Installing RTEMS', point 3:
> The configure command leeds to the following output:
>
> checking if cpu m68k is supported... yes
> checking for m68k-rtems-gcc... /gcc-m68k/bin/m68k-rtems-gcc
> checking whether the C compiler (/gcc-m68k/bin/m68k-rtems-gcc ) works...
>
> Windows error message:
> "16 bit MS-DOS Subsystem"
> Cygwin B20
> The NTVDM CPU has encountered an illegal instruction.
> CS:051c IP:2173 OP:f0 2c 00 20 52
> -> Terminate
>
> When I terminate the error it claims that the C compiler works and proceeds.
> Everything seems to be OK.
>
> *** 'Installing RTEMS', point 4:
> Make terminates with the following output:
>
> BASEDIR=`pwd`; \
> for bsp in sbc5307 xxx; \
> do if [ $bsp != xxx ] ; then \
> cd $BASEDIR; \
> cmd="cd c; make RTEMS_BSP=$bsp \
> all" ; \
> eval $cmd || exit 1; \
> fi; done;
> /cygnus/CYGWIN~1/H-I586~1/bin/mkdir -p /build/rtems/sbc5307/lib
> /build/rtems/sbc5307/lib/include /build/rtems/sbc5307/lib/include/sys
> /build/rtems/sbc5307/lib/include/rtems
> /build/rtems/sbc5307/lib/include/rtems/score
> /build/rtems/sbc5307/lib/include/rtems/rtems
> /build/rtems/sbc5307/lib/include/rtems/posix
> /build/rtems/sbc5307/lib/include/libc
> /build/rtems/sbc5307/lib/include/libc/sys
> /build/rtems/sbc5307/lib/include/motorola
> /build/rtems/sbc5307/lib/include/zilog
> /build/rtems/sbc5307/lib/include/networking
> /build/rtems/sbc5307/lib/include/networking/sys
> /build/rtems/sbc5307/lib/include/networking/machine
> /build/rtems/sbc5307/lib/include/networking/rtems
> /build/rtems/sbc5307/lib/include/networking/vm
> /build/rtems/sbc5307/lib/include/networking/net
> /build/rtems/sbc5307/lib/include/networking/netinet
> /build/rtems/sbc5307/lib/include/networking/arpa
> /build/rtems/sbc5307/lib/include/networking/nfs /build/rtems/sbc5307/bin
> /build/rtems/sbc5307/samples /build/rtems/sbc5307/tests
> /build/rtems/sbc5307/tests/screens
> /build/rtems/sbc5307/tests/screens/sptests
> /build/rtems/sbc5307/tests/screens/psxtests
> /build/rtems/sbc5307/tests/screens/mptests
> /build/rtems/sbc5307/tests/screens/mptests/node1
> /build/rtems/sbc5307/tests/screens/mptests/node2
> /build/rtems/sbc5307/build-tools /build/rtems/sbc5307/update-tools
> if test -d /build/rtems/c/src/lib/libhwapi; then \
> (cd /build/rtems/c/src/lib/libhwapi ; make mkdirs) \
> fi
> find . -name Makefile \
> -exec grep -l "^preinstall" {} \; > make_src_makefiles.tmp
> grep tools make_src_makefiles.tmp > make_src_makefiles
> make[1]: [make_src_makefiles] Error 1 (ignored)
> grep -v tools make_src_makefiles.tmp >> make_src_makefiles
> rm make_src_makefiles.tmp
> cd build-tools/scripts; make
> creating ./c/build-tools/scripts/install-if-change
> creating ./c/build-tools/scripts/rcs-clean
> creating ./c/build-tools/scripts/lock-directory
> creating ./c/build-tools/scripts/unlock-directory
> make[2]: *** No rule to make target
> `/build/rtems/sbc5307/build-tools/install-if-change', needed by `install'.
> Stop.
> make[1]: *** [pre_install_src] Error 2
> make: *** [all] Error 1
>
> Does anyone know what is going on here?
> Thanks in advance for your help.
You could try the latest cygwin DLLs and snapshots from sourceware.cygnus.com.
Brendan Simon.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list