Help Building RTEMS for Windows NT

Fernando RUIZ CASAS (E-mail) fernando.ruiz at ctv.es
Tue Dec 4 10:42:46 UTC 2001


Only a litle trick.
While THIS compilation step process
RENAME \winnt\system32\cmd.exe to cmdxxx.exe in order to avoid execute bad
16 bits exe programs compiled by gcc cross compiler.

After this you can undo the changes and run the compiler without problems.

Also you can touch the register changind the key to run 16 bits exe
programs.
Rename is more easy.
Enjoy.

Fernando RUIZ CASAS
home:correo at fenando-ruiz.com
work:fernando.ruiz at ctv.es

-----Mensaje original-----
De: Gerke Kok [mailto:gerke.kok at tpa-nl.com]
Enviado el: martes, 04 de diciembre de 2001 11:00
Para: rtems-users at oarcorp.com
Asunto: Re: Help Building RTEMS for Windows NT


Hi,
looks like you are missing some tools here. Did you use the Cygwin-Install
of the OAR site? Then you could have use the rpm-files. These do a lot of
good for you. (I know: it's a big download... :-( )
You are at least missing autoconf, automake etc. These maight be quite
important in the building process... Goodluck!
wkr,
Gerke

*********** REPLY SEPARATOR  ***********

On 04/12/01 at 15:43 Paul Whitfield wrote:

>Hello All,
>
>I am having some problems building RTEMS on Windows NT.
>
>I have the same problem for release 4.5.0 and the pre-release
>4.5.1-pre3. The following is all for 4.5.0
>
>If have downloaded and installed the relavent tar.gz files
>(not the RPMs)
>
>I have followed the instructions in the Getting Started guide, and
>seem to get started configure started OK.
>
>The configuration process seems to work OK (see log attached below)
>but when it gets the point where checks to see if the rtems compiler
>works it "locks up".
>
>This is very odd, because the cmd.exe window scroll bar then "goes
>away". (Like the executeable is a 16 bit app).
>
>The cmd window now will not respond and I can not control-c inside this
>window (well I can but it does nothing).
>
>I have everying all the RTEM stuff installed in /opt
>I have the / filesystem mounted in binary mode
>I am using an up-to-date version of Cygwin.
>I am running Windows NT4 Service Pack 6
>
>The m68k-rtems-gcc works correctly if I compile a small fragment
>of code.
>
>The output of m68k-rtems-gcc -v is
>
>$ m68k-rtems-gcc -v
>Reading specs from /opt/rtems/lib/gcc-lib/m68k-rtems/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
>
>Any help greatly appreciated
>
>Best regards
>
>Paul Whitfield
>
>
>$ ../../rtems-4.5.0/configure --target=m68k-rtems
>
>loading cache ./config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking target system type... m68k-unknown-rtems
>checking build system type... i386-pc-cygwin32
>checking rtems target cpu... m68k
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking if the test suites are enabled? ... no
>checking if cpu m68k is supported... yes
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>creating tools/Makefile
>creating make/Makefile
>creating make/custom/Makefile
>creating make/Templates/Makefile
>creating make/compilers/Makefile
>creating doc/Makefile
>configuring in tools/build
>running /bin/sh ../../../../rtems-4.5.0/tools/build/configure
>--target=m68k-rtems --cache-file=../.././config.cache
>--srcdir=../../../../rtems-4.5.0/tools/build
>loading cache ../.././config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for Cygwin environment... (cached) yes
>checking for mingw32 environment... (cached) no
>checking for executable suffix... (cached) .exe
>checking for gcc... (cached) gcc
>checking whether the C compiler (gcc  ) works... yes
>checking whether the C compiler (gcc  ) is a cross-compiler... no
>checking whether we are using GNU C... (cached) yes
>checking whether gcc accepts -g... (cached) yes
>checking for strerror... (cached) yes
>checking for strtol... (cached) yes
>checking for bash... (cached) /usr/bin/bash
>updating cache ../.././config.cache
>creating ./config.status
>creating Makefile
>creating install-if-change
>creating lock-directory
>creating unlock-directory
>creating config.h
>config.h is unchanged
>configuring in tools/update
>running /bin/sh ../../../../rtems-4.5.0/tools/update/configure
>--target=m68k-rtems --cache-file=../.././config.cache
>--srcdir=../../../../rtems-4.5.0/tools/update
>loading cache ../.././config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for bash... (cached) /usr/bin/bash
>checking for perl... no
>updating cache ../.././config.cache
>creating ./config.status
>creating Makefile
>configuring in tools/cpu
>running /bin/sh ../../../../rtems-4.5.0/tools/cpu/configure
>--target=m68k-rtems --cache-file=../.././config.cache
>--srcdir=../../../../rtems-4.5.0/tools/cpu
>loading cache ../.././config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking target system type... m68k-unknown-rtems
>checking build system type... i386-pc-cygwin32
>checking rtems target cpu... m68k
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for bash... (cached) /usr/bin/bash
>updating cache ../.././config.cache
>creating ./config.status
>creating Makefile
>configuring in generic
>running /bin/sh ../../../../../rtems-4.5.0/tools/cpu/generic/configure
>--target=m68k-rtems --cache-file=../../.././config.cache
>--srcdir=../../../../../rtems-4.5.0/tools/cpu/generic
>loading cache ../../.././config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking target system type... m68k-unknown-rtems
>checking build system type... i386-pc-cygwin32
>checking rtems target cpu... m68k
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking for bash... (cached) /usr/bin/bash
>updating cache ../../.././config.cache
>creating ./config.status
>creating Makefile
>creating size_rtems
>configuring in m68k-rtems/c
>running /bin/sh ../../../../rtems-4.5.0/c/configure  --target=m68k-rtems
>--cache-file=./config.cache --srcdir=../../../../rtems-4.5.0/c
>creating cache ./config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking target system type... m68k-unknown-rtems
>checking build system type... i386-pc-cygwin32
>checking rtems target cpu... m68k
>checking for a BSD compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking if cpu m68k is supported... yes
>checking for bsps...  dmv152 efi332 efi68k gen68302 gen68340 gen68360
>gen68360_040 idp mvme136 mvme147 mvme147s mvme162 mvme162lx mvme167
>ods68302 .. done
>checking for make/custom/dmv152.cfg... yes
>checking for make/custom/efi332.cfg... yes
>checking for make/custom/efi68k.cfg... yes
>checking for make/custom/gen68302.cfg... yes
>checking for make/custom/gen68340.cfg... yes
>checking for make/custom/gen68360.cfg... yes
>checking for make/custom/gen68360_040.cfg... yes
>checking for make/custom/idp.cfg... yes
>checking for make/custom/mvme136.cfg... yes
>checking for make/custom/mvme147.cfg... yes
>checking for make/custom/mvme147s.cfg... yes
>checking for make/custom/mvme162.cfg... yes
>checking for make/custom/mvme162lx.cfg... yes
>checking for make/custom/mvme167.cfg... yes
>checking for make/custom/ods68302.cfg... yes
>updating cache ./config.cache
>creating ./config.status
>creating Makefile
>configuring in make
>running /bin/sh ../../../../../rtems-4.5.0/c/make/configure
>--target=m68k-rtems --with-target-subdir=m68k-rtems
>--cache-file=.././config.cache --srcdir=../../../../../rtems-4.5.0/c/make
>loading cache .././config.cache
>checking for RTEMS Version... 4.5.0
>checking host system type... i386-pc-cygwin32
>checking target system type... m68k-unknown-rtems
>checking build system type... i386-pc-cygwin32
>checking rtems target cpu... m68k
>checking for a BSD compatible install... (cached) /usr/bin/install -c
>checking whether build environment is sane... yes
>checking whether make sets ${MAKE}... (cached) yes
>checking for working aclocal... missing
>checking for working autoconf... missing
>checking for working automake... missing
>checking for working autoheader... missing
>checking for working makeinfo... found
>checking whether to enable maintainer-specific portions of Makefiles... no
>checking if cpu m68k is supported... yes
>checking for m68k-rtems-gcc... /opt/rtems/bin/m68k-rtems-gcc
>checking whether the C compiler (/opt/rtems/bin/m68k-rtems-gcc  ) works...
>
>
>
>--
>-------------------------------------------------------
>Paul Whitfield
>Senior Software Engineer
>Microsol (Aust) Pty Ltd
>
>Phone: (+61) 08 9473 6646
>Fax:   (+61) 08 9473 6699







More information about the users mailing list