[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200709260124.41362.rob@landley.net>
Date: Wed, 26 Sep 2007 01:24:41 -0500
From: Rob Landley <rob@...dley.net>
To: Adrian Bunk <bunk@...nel.org>
Cc: Sam Ravnborg <sam@...nborg.org>, Indan Zupancic <indan@....nu>,
linux-tiny@...enic.com,
Michael Opdenacker <michael@...e-electrons.com>,
CE Linux Developers List <celinux-dev@...e.celinuxforum.org>,
linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [Announce] Linux-tiny project revival
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists