Is it possible to redirect output to current working dir of project ?

Installing on windows
Post Reply
Ragooman
Member
Posts: 11
Joined: Thu Aug 13, 2009 1:55 pm

Is it possible to redirect output to current working dir of project ?

Post by Ragooman »

Hi,

I think I originally posted this to the wrong section before -- "Features request"

I see that all the output is directed to the temp dir when I compile
So I currently changed the Temp path to C:/z88dk/build to keep my stuff in the same dir tree.

I couldn't see any possible flag options on this webpage for zcc flags
http://www.z88dk.org/wiki/doku.php?id=zcc&s[]=zcc&s[]=flags
I normally have this setup by default when I use other compilers, such as GCC port for AVR processor

However, is it possible to redirect the output to the current working dir of my source code when I invoke zcc ?

thanks
=Dan
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

I think the flag -notemp is what you're looking for - stops it using the temp directory.

You may also want -no-cleanup which will stop it deleting the intermediate files.

BTW, giving the -h option to most of the programs (except zcpp and copt) shows all the options for the programs.
Ragooman
Member
Posts: 11
Joined: Thu Aug 13, 2009 1:55 pm

Post by Ragooman »

ah yes, always check the help

I guess the webpage is alittle behind :)

=Dan
Post Reply