Re: [cc65] include file search path

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2005-08-17 21:24:26
On Wed, Aug 17, 2005 at 03:19:28PM +0200, MagerValp wrote:
> If I compile the file simplemenu/menu.c, which #includes the file
> "menu.h", the include file is not found. I'm not sure what the
> standards say, but gcc handles this by searching in the subdirectory
> before searching in the current directory. And yes, I'm too lazy to
> add -Isimplemenu in the Makefile :P

The standard doesn't talk about directories and paths at all, so both
compilers behave equally compliant. The changes necessary to support gccs
search pattern don't fit easily into the existing code (it assumes a more or
less static list of search paths), so I would be glad, if you could consider
using -Isimplemenu again :-)

BTW: Is there a more detailed description of the search algorithm? And, does
anybody know, how popular windows compilers do it?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Aug 17 21:24:39 2005

This archive was generated by hypermail 2.1.8 : 2005-08-17 21:24:42 CEST