[PATCH] lsof: correct check for symbolic link
Laurent Bercot
ska-dietlibc at skarnet.org
Thu Jun 20 12:44:03 UTC 2013
> Maybe I'm missing something here. How can you run a program at
> build-time, in a cross-compiler environment? At that moment you don't
> have access to the target, and you can't rely on the outcome of a
> host-test to give information on the behavior of the target... (even
> regardless of the filesystem argument Ralf raised).
If you read the thread on cross-compilation that happened about a week
ago, you'll see this is exactly my point ;)
I was arguing that 1. you need to run executables at build time to
test for system behaviour (even if the d_type thing is a bad example here),
and 2. this is exactly why cross-compilation is difficult, and we need
a global sysdeps database so cross-compilers can fetch the right data
for the target platform.
--
Laurent
More information about the busybox
mailing list