Re: [Announce] Linux-tiny project revival

From: Rob Landley
Date: Wed Sep 26 2007 - 02:24:56 EST

On Monday 24 September 2007 1:13:07 pm Adrian Bunk wrote:
> The simplest solution that comes into my mind would be to create links
> for the source file in the output dir before calling gcc and then give
> gcc the link as input file.

The way I've been building various packages out-of-tree (including the Linux
kernel) is:

cp -sR /path/to/actual/source/tree newdir
cd newdir
cd ..
rm -rf newdir

The cp -sR creates a new tree of symlinks to the original source, and
everything I've tried so far happily builds in such a directory.

(Yes, this breaks on cygwin. Ask me if I care.)

"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at