Adjust paths when cross-compiling
Mike,
sorry for my unclear email.
Of course I am looking for the tools which are created for this explicit
purpose and I like to use them.
I had the suspicion that cross-fix-root and lafilefixer are such tools,
but I only know their help text and their source code. I would like to
know more about them, before I call them logged in as root. I don't want
to corrupt my system by calling it at the wrong time, with the wrong
command arguments or with the wrong environment variables.
1. Are there any docs or discussions on the web which further describe
their purpose and their usage?
2. How should I have used these tools in order to prevent the problems with
$ROOT/usr/lib/libgmp.la and
$ROOT/usr/lib/libcrack.so
which I have described in my previous email?
3. Which tools should be called when?
After each emerge?
Are these tools already called by emerge or other system tools?
4. When I cross compile the root file system in
/usr/armv4tl-softfloat-linux-gnueabi,
libdir needs to be
libdir='/usr/armv4tl-softfloat-linux-gnueabi/usr/lib'.
When the target system (ARM) mounts this root fs through NFS, then
libdir needs to be again libdir='/usr/lib'.
May I call cross-fix-root or lafilefixer on the target or host system
again, in order to change the paths forth and back?
Best regards
Jan
|