Re: [cc65] Output directory

Date view Thread view Subject view

From: Geoffrey Wossum (
Date: 2003-11-03 17:38:28

On Monday 03 November 2003 09:57 am, MagerValp wrote:
> >>>>> "GW" == Geoffrey Wossum <> writes:
> GW> cc65 and friends seem to be fairly stubborn about placing their output
> files GW> in the same directory as the source, even if you they are run
> from different GW> directories.  This causes problems with the build
> process on a library I use GW> on multiple platforms.  Is there some way to
> override this behavior that I've GW> missed?
> -o ?

Tried it before I sent the first email.  Even if you put an absolute path in 
the "-o" option, cc65 and friends put the output in the same directory as the 

I've worked around the problem by mv'ing the object file after compilation in 
my Makefile.  Although somewhat annoying, it's not a huge deal, since cc65 
needed a different Makefile anyway (or at least that was the fastest way for 
me to port the library).

BTW, I'm using cc65 2.9.3 on Linux, if that makes any difference.

Geoffrey Wossum
Software Engineer
Long Range Systems -

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-11-03 17:45:47 CET