Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] gcc - current dir search path

2004-05-12 by Robert Adsett

At 02:13 AM 5/12/04 -0700, you wrote:
>Is there a gcc option to specify no_current_dir for
>the search (or include) path? Or at least something to
>override the current path with a ­Idir option?
>
>It seems like the current path is searched 1st & then
>the ­Idir’s. Is there an option to change the order,
>search the ­Idir’s 1st & then the current dir or
>completely knock the current dir???

Use include <filename> instead of include "filename".  That should 
work.  That's the general intent of the difference and it does for most 
compilers I've used but I haven't tried it.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.