zcc -I path not used by z80asm

Bug reports (if you don't/won't have a Github account)
Post Reply
DarkSchneider
Member
Posts: 71
Joined: Sun Apr 01, 2018 4:02 pm

zcc -I path not used by z80asm

Post by DarkSchneider »

https://github.com/z88dk/z88dk/wiki/Too ... e-filename
INCLUDE "filename"
Include the given file in the current assembly position. The file is searched in the path pointed by the -IPATH options. Detects and reports an attempt to recursively include the same file.

Note: This directives can preceded by a hash to allow for compatibility with the C preprocessor.
But is ignoring the -I parameter of zcc, instead I have to put the full absolute or relative path to the included file.
User avatar
dom
Well known member
Posts: 2076
Joined: Sun Jul 15, 2007 10:01 pm

Re: zcc -I path not used by z80asm

Post by dom »

Yes, for zcc -I defines the C include search path, to configure the assembler search path use -Ca-I
DarkSchneider
Member
Posts: 71
Joined: Sun Apr 01, 2018 4:02 pm

Re: zcc -I path not used by z80asm

Post by DarkSchneider »

OK now is working. Thanks.
Post Reply