Installation help......please (RE-recipe)
Fernando RUIZ CASAS
correo at fernando-ruiz.com
Mon Oct 1 18:16:51 UTC 2001
>
>-----Mensaje original-----
>>De: dinu [mailto:latish_sudheer at lycos.com]
>Enviado el: viernes, 07 de septiembre de 2001 14:29
>Para: rtems-users at OARcorp.com
>Asunto: Installation help......please
>I am very new to rtems.I want to install it on windows nt.I am having
cygwin also >on my systems.I have followed the steps.I have got problem when
i tried to build >the gcc.i have followed the steps below
>i have downloaded
Try this. It works really.
YOPu only need make a litle bit changes to setup. Enjoy it
Hi.
Well.
Download the Getting Started with RTEMS from ftp.OARcorp.com 'started.pdf'
Full user documentation for RTEMS is available on-line at:
http://www.oarcorp.com/rtemsdoc-4.5.0
There you can see the traditional system to install rtems 4.5.0Beta3 in
Linux.
(The last version of cygwin(2.78.2.9) is very close to linux environment)
Download the lastest version of cygwin (recomended) from
sources.redhat.com.
Setup the downloaded packages and start a new cygwin bash session.
Put attention choosing default file type DOS in the install step.
With this the cr/lf or cr end-of-line can be readed without problems.
Move all the downloaded files in /home/Your_account/archives (recomended)
chdir to /home/Your_account and
untar the files and apply the patches.(the c_tools)
* binutils-2.10.tar.gz (binutils-2.10-rtems-20000726.diff)
* gcc-2.95.2.tar.gz (gcc-2.95.2-rtems-20001226.diff)
* newlib-1.9.0.tar.gz (newlib-1.9.0-rtems-20001219.diff)
You can of course download the last versions of these files.(Your versions)
And the last snapshot if you want to use it.
* rtems-ss-20010816.tar.gz
The new format bz2 can be untared with 'tar xvjf file.tar.bz2' directly.
Download
* c_build_scripts-4.5.0-beta3a.tgz.
/pub/rtems/releases/4.5.0/c_tools/source/c_build_scripts-4.5.0-beta3a.tgz
It contains the 'bit' and 'bit_rtems' script files to make all of this
for newbies like us.
Now you only need setup the user.cfg touching the variables inside.
Modify the path adding (if you choose /opt/rtems like --prefix (default in
user.cfg))
PATH=/opt/rtems/bin:$PATH
Make a little trick to get this compilation.
ln gcc.exe cc.exe in /bin
ln gmake.exe make.exe in /bin
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 while your rtems or
c_tools compilation.
Don't forget that after your successfull compilation undo the changes.
The user applications don't need to compile this trick.
Now, executing
./bit i386
a new 'build-i386-tools' directory will be created and
the tools will be configured there.
after this
./bit i386 pc686
a new 'build-i386-rtems' will be crated and
the rtems libraries will be configured there.
You can see after this all the /opt/rtems subdirectories with your binaries
and libraries to compile
your new user programs.
With this system I can compile my programs without problems.
(perhaps any mistake can be done, sorry in advance)
You can see that all of this is like unix environment.
This system in more easy to install and
all the linux instructions can be used.
Enjoy it.
Fernando RUIZ CASAS
home: correo at fernando-ruiz.com
work: fernando.ruiz at ctv.es
More information about the users
mailing list