Re: [cc65] Relative paths during compilation

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-05-03 22:02:08
Hi!

On Mon, May 03, 2010 at 09:48:55PM +0200, Oliver Schmidt wrote:
> You are right - the above works. However the following does not work:
>
> cl65 -c -I src src/t.s
>
> Sorry for being unprecise but I wasn't aware until now that cl65
> introduces the issue...

This is by design:
           
--------------------------------------------------------------------------
uz@trixie:~$ cl65 --help | grep include
  -I dir                Set a compiler include directory path
  --asm-include-dir dir Set an assembler include directory
  --forget-inc-paths    Forget include search paths (compiler)
  --include-dir dir     Set a compiler include directory path
--------------------------------------------------------------------------

One could argue that there should be enough magic in cl65 so that -I works
depending on the input file, but this would require something like

  cl65 -I compilerdir c-example.c -I assemblerdir asm-example.s

which isn't very intuitive either.

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 Mon May 3 22:02:14 2010

This archive was generated by hypermail 2.1.8 : 2010-05-03 22:02:16 CEST