aoutToBinDec problem for help
....
ld386 -o tmp.o -X -N -e _usrInit \
-Ttext 00008000 bootConfig.o version.o sysALib.o sysLib.o
D:\Tornado
\target/lib/libPENTIUMgnuvx.a
D:\Tornado\host\x86-win32\bin\aoutToBinDec < tmp.o |
D:\Tornado\host\x86-win32\b
in\deflate > tmp.Z
Deflation: 49.98%
D:\Tornado\host\x86-win32\bin\binToAsm tmp.Z >bootrom.Z.s
....
ld386 -X -N -e _romInit -Ttext 00108000 \
-o bootrom romInit.o bootInit.o version.o \
D:\Tornado\target/lib/libPENTIUMgnuvx.a bootrom.Z.o
....
aoutToBinDec < tmp.o | D:\Tornado\host\x86-win32\bin\deflate > tmp.Z
what is this means?-- < tmp.o | D:\Tornado\host\x86-win32\bin\deflate >
Re: aoutToBinDec problem for help
On 31 Oct 2005, [email]zhengbuaa@163.com[/email] was producing a compressed image:
[color=blue]
> aoutToBinDec < tmp.o | D:\Tornado\host\x86-win32\bin\deflate > tmp.Z
> what is this means?
> -- < tmp.o | D:\Tornado\host\x86-win32\bin\deflate >[/color]
aoutToBinDec is sent the input "tmp.o". aoutToBinDec will write to
standard output. The "|" is the pipe notation. The output of
aoutToBinDec is sent to the input of deflate. deflate's output is
sent to tmp.Z.
This command could be written like this,
aoutToBinDec < tmp.o > zhengbuaa
deflate < zhengbuaa > tmp.Z
del zhengbuaa
The extra file "zhengbuaa" is created. As well, it is possible for
the OS to run these commands in "chunks". So only 1k at a time could
be taken from aoutToBinDec and passed to deflate. If this happens,
you don't need as much disk space or memory. It is also possible that
things execute faster due to caching (on the host machine).
So it is not just to avoid typing...
hth,
Bill Pringlemeir.
--
The end of our foundation is knowledge of causes, and secret motions
of things; and the enlarging of the bounds of human empire, to the
effecting of all things possible. - Francis Bacon, New Atlantis
vxWorks FAQ, "http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html"
Re: aoutToBinDec problem for help
Bill Pringlemeir 写道:
[color=blue]
> On 31 Oct 2005, [email]zhengbuaa@163.com[/email] was producing a compressed image:
>[color=green]
> > aoutToBinDec < tmp.o | D:\Tornado\host\x86-win32\bin\deflate > tmp.Z
> > what is this means?
> > -- < tmp.o | D:\Tornado\host\x86-win32\bin\deflate >[/color]
>
> aoutToBinDec is sent the input "tmp.o". aoutToBinDec will write to
> standard output. The "|" is the pipe notation. The output of
> aoutToBinDec is sent to the input of deflate. deflate's output is
> sent to tmp.Z.
>
> This command could be written like this,
>
> aoutToBinDec < tmp.o > zhengbuaa
> deflate < zhengbuaa > tmp.Z
> del zhengbuaa
>
> The extra file "zhengbuaa" is created. As well, it is possible for
> the OS to run these commands in "chunks". So only 1k at a time could
> be taken from aoutToBinDec and passed to deflate. If this happens,
> you don't need as much disk space or memory. It is also possible that
> things execute faster due to caching (on the host machine).
>
> So it is not just to avoid typing...
>
> hth,
> Bill Pringlemeir.
>
> --
> The end of our foundation is knowledge of causes, and secret motions
> of things; and the enlarging of the bounds of human empire, to the
> effecting of all things possible. - Francis Bacon, New Atlantis
>
> vxWorks FAQ, "http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html"[/color]
thanks