Re: [cc65] Bug in cl65 (?)

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-04-22 20:50:50
Hi!

On Thu, Apr 22, 2010 at 12:23:37PM +0200, Oliver Schmidt wrote:
> If the cl65 option -o (to name the output file) is using a path then
> the directory part of that path is ignored. At least whenused together
> with the option -c. There it means that the object file is always
> placed in the current directory.

Sorry, but I cannot reproduce this here. Neither with or without -c:

--------------------------------------------------------------------------
uz@trixie:~/src/cc65/test$ mkdir foo
uz@trixie:~/src/cc65/test$ cl65 -o foo/test -Oirs test.c
uz@trixie:~/src/cc65/test$ l foo/
total 4
-rw-r--r-- 1 uz uz 374 2010-04-22 20:47 test
uz@trixie:~/src/cc65/test$ rm -r foo
uz@trixie:~/src/cc65/test$ mkdir foo
uz@trixie:~/src/cc65/test$ cl65 -c -o foo/test -Oirs test.c
uz@trixie:~/src/cc65/test$ l foo/
total 4
-rw-r--r-- 1 uz uz 593 2010-04-22 20:47 test
uz@trixie:~/src/cc65/test$
--------------------------------------------------------------------------

Maybe some other conditions trigger this bug, but I've also looked into the
sources and cannot find anything that would cause stripping the path.

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 Thu Apr 22 20:50:58 2010

This archive was generated by hypermail 2.1.8 : 2010-04-22 20:51:01 CEST