← Back to team overview

ooc-dev team mailing list archive

Re: how does the "-outpath" compiler option suppose to work?

 

I think your answer didn't make it to the list ;-)

2009/10/20 'n ddrylliog <amoswenger@xxxxxxxxx>

> You should use the "-noclean" option if you want the .c/.h sources to stay
>  ;)
> I've added some details over here:
> http://docs.ooc-lang.org/compiler.html#noclean
>


Is there a scenario where "-outpath" without "-noclean" would be usefull?
What do you think of making "-noclean" a default when using "-outpath"?





> On Tue, Oct 20, 2009 at 11:04 AM, ben haques <ben.haques@xxxxxxxxx> wrote:
> > hi
> > I try to have the ooc compiler output the .c/.h sources to a specific
> > directory. How does this work? The only thing that happens is that the
> > output directory is deleted.
> > ~~~~~~~~~~~~~~~~~~~~~~~
> > $ mkdir ./outp
> > $ ls
> >    hello.ooc
> >    outp
> > $ ooc -outpath=outp hello.ooc
> > $ ls
> >    hello
> >    hello.ooc
> >    # the 'outp' directory is gone ...
> > ~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~ooc-dev<https://launchpad.net/%7Eooc-dev>
> > Post to     : ooc-dev@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~ooc-dev<https://launchpad.net/%7Eooc-dev>
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
>
>
> --
> Amos Wenger
> http://ooc-lang.org/
>

References