I do not cross compile but compile on the nwsp2 itself, it is too complicated to describe shortly how to set it up and to get a good working set. I have three different compiler versions and use one dependent on if a package gives problem with one version or another. When I have time I will post the setup.
Attached the compiled version of unrar
You need to put the unrar binary in /usr/bin and set it as executable
The other file (libstdc++.so.6) in the attachment goes to /usr/lib and also this must be set as executable but as it replaces the old one it probably will be set properly but check it as this is a crucial file for many programs.
If you don't replace the existing version of this file by this newer version you will get an message when using unrar that it can find version information of that file, the newer one solves this. Although that message is displayed unrar seems to work ok also with the older version but the message is annoying.
As said the lib file is an important file and contains the standard C library, many programs are using it. Therefor I am a little reluctant to change such files as some programs may be affected. Think it is ave to replace it by this one as it comes from the same source as the older one. We will see, I would appreciate if you can test it and let us now if you have any problem.
Below info how to use unrar and proof that it is working :mrgreen:
- Code: Select all
/ # unrar --help
UNRAR 4.10 beta 2 freeware Copyright (c) 1993-2011 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
<Commands>
e Extract files to current directory
l[t,b] List archive [technical, bare]
p Print file to stdout
t Test archive files
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path
<Switches>
- Stop switches scanning
@[+] Disable [enable] file lists
ad Append archive name to destination path
ag[format] Generate archive name using the current date
ai Ignore file attributes
ap<path> Set path inside archive
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
ep3 Expand paths to full including the drive letter
f Freshen files
id[c,d,p,q] Disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
n<file> Include only specified file
n@ Read file names to include from stdin
n@<list> Include files listed in specified list file
o[+|-] Set the overwrite mode
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
sl<size> Process files with size less than specified
sm<size> Process files with size more than specified
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format
tn<time> Process files newer than <time>
to<time> Process files older than <time>
ts<m,c,a>[N] Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files listed in specified list file
y Assume Yes on all queries
/ #
unrar.zip
You do not have the required permissions to view the files attached to this post.