This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA/C] Break out C options into a separate file
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: Neil Booth <neil at daikokuya dot co dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Jun 2003 14:00:09 +0100 (BST)
- Subject: Re: [RFA/C] Break out C options into a separate file
- References: <20030520221643.GB32072@daikokuya.co.uk><Pine.LNX.4.53.0305210939320.16803@kern.srcf.societies.cam.ac.uk><20030522195154.GA6157@daikokuya.co.uk> <3ED9AAC3.9000102@pop.agri.ch>
On Sun, 1 Jun 2003, Andreas Tobler wrote:
> Just for the record, my ppc linux box has sort under /bin. So a
> bootstrap fails here unless I symlink around.
>
>
> Would it be possible to check for awk/sort and take the corresponding one?
In general, this sort of thing should be taken from the PATH rather than
hardcoding directories. In the case of awk, there's a standard autoconf
test to determine the preferred awk.
--
Joseph S. Myers
jsm28@cam.ac.uk