rtems and

Ramon Costa Castelló costa at ioc.upc.es
Thu Nov 19 20:27:41 UTC 1998


Hi,

my name in Ramon Costa-Castelló, I'm an
assistant professor at "Universitat Politècnica
de Catalunya". I trying to install RTEMS 4.0.0
using Cygwin B19.

I tried to follow the instructions
given in "Getting Started with RTEMS", but unfortunately
I did not succeed. I describe you the steps I have been
following (In order to simplify everything I have written
several scripts, that you can find attached at the end of this mail).


1.- First of all I install cygnus B19 (cdk.exe) under c:\soft\rtems

2.- in DOS mode I execute
            RUN.BAT
    to put everything in the correct place.

3.- I switch to bash mode, and execute
        run.sh
    when this finishes I leave from bash and edit the following files

4.-

edit c:\soft\rtems\source\user.cfg with PFE (following section 3.9)
BUILD_DOCS=yes
INSTALL_POINT=/cross/${GCC}-${BINUTILS}-${NEWLIB}/${target}
ENABLE_RTEMS_TESTS=yes

edit
c:\soft\rtems\cygnus\b19\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-b19\specs

with PFE (following section 7.3 point 6)
and substitute the line
        -lcygwin %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32
by
        -lcygwin %{mwindows:-luser32 -lgdi32 -lcomdlg32} -lkernel32
-ladvapi32

edit cygnus.bat
SET PATH=C:\soft\rtems\gcc-i386-rtems\bin;%PATH%


5.- In bash mode I execute the following commands:

cd /build/binutils
/source/binutils-2.9.1/configure --verbose  --target=i386-rtems
--prefix=/gcc-i386-rtems --with-gnu-as --with-gnu-ld  >configure.trace
2>configure.err



--------------- configure.err ----------------------------------------

ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
Configure in /build/binutils/opcodes failed, exiting.

-------------------------------------------------------


--------------- configure.trace ----------------------------------------

Created "Makefile" in /build/binutils
Configuring libiberty...
xhost-mkfrag is unchanged
Linked "alloca-conf.h" to
"/source/binutils-2.9.1/libiberty/alloca-norm.h".
Created "Makefile" in /build/binutils/libiberty using "xhost-mkfrag"
Configuring opcodes...
loading cache ../config.cache
checking host system type...
checking target system type...
checking build system type...
checking for a BSD compatible install...
/Cygnus/B19/H-i386-cygwin32/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 for i586-pc-cygwin32-ar... ar
checking for i586-pc-cygwin32-ranlib... no
checking for ranlib... ranlib
checking for ranlib... (cached) ranlib
checking for gcc... gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC...
C:\soft\rtems\Cygnus\B19\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-B19\../../../../i386-cygwin32\bin\ld.exe

checking if the linker
(C:\soft\rtems\Cygnus\B19\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\2.7-B19\../../../../i386-cygwin32\bin\ld.exe)

is GNU ld... yes
checking for BSD-compatible nm... /Cygnus/B19/H-i386-cygwin32/bin/nm -B
checking whether ln -s works... yes

----------------------------------------------------------------------------------------




Do you know What's going on ?
How can I solve it ?

(I am a novice with gnu tools, and rtems. So I have no Idea )



Thank you in advance for the problems I will
cause You,

Best Regards,


Ramon Costa-Castello


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Run.sh
Type: application/x-sh
Size: 4597 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/19981119/a6b73fa5/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Run.bat
Type: application/x-unknown-content-type-batfile
Size: 1481 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/19981119/a6b73fa5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: costa.vcf
Type: text/x-vcard
Size: 449 bytes
Desc: Card for Ramon Costa Castell?
URL: <http://lists.rtems.org/pipermail/users/attachments/19981119/a6b73fa5/attachment.vcf>


More information about the users mailing list