Quote:
Originally Posted by meynaf
Wait, are you saying that if i include somedir/othersource.s and that this second source includes something, the asm won't look in this second file's dir ?
|
Yes. I don't know any assembler which would do so.
Quote:
And now the situation becomes more complicated because you can have a whole tree of directories : a.s includes b/c.s, c.s includes d/e.s, and e.s includes f.s so where could f.s possibly fetch its files ? Could be current dir (command line), dir of a.s, b/ (dir of c.s), b/d/ (dir of e.s), etc.
It looks to me as if considering the source's dir is like opening a can of worms...
|
Which is exactly the reason I won't implement that (although Antiriad seems to suggest it).
The main source directory should be the only one which is used for relative path lookups.