Messages in this thread |  | | | From | Rob Landley <> | | Subject | Re: [Announce] Linux-tiny project revival | | Date | Wed, 26 Sep 2007 01:24:41 -0500 |
| |
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 configure make install 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.)
Rob -- "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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |