What I forgot to mention is that without the -c, the command-line will work perfectly fine. (Generating the obj / etcs all inside the appropriate folder). It seems specific to having the -c flag in the command line. Tried quoting and replacing with forward slashes, no luck.<div>
<br></div><div>Also doesn't work with just plain:</div><div><span class="Apple-style-span" style="border-collapse: collapse; ">gsc -:d- -c -o <build directory, with no sub directories> -c ..\<some set of paths>\main.scm > out.txt</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">gsc -:d- -c -o <build directory, with no sub directories> main.scm > out.txt</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">gsc -:d- -c -o cat main.scm > out.txt</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">-Cameron</span></div><div><br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 2:00 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I can't be sure... but those backslashes seem suspicious.  Can you replace them with forward slashes?  You should also try surrounding the paths with double quotes, and maybe doubling the backslashes...<br>

<br>
Marc<div><div></div><div class="h5"><br>
<br>
On 27-Aug-09, at 4:26 PM, Cameron Hatfield wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
I've been trying for a little bit now to try to get this type of command line working:<br>
<br>
gsc -:d- -c -o <build directory>\<sub set build directory> ..\<some set of paths>\main.scm > out.txt<br>
<br>
And I end up with this error:<br>
*** ERROR IN ##main -- string expected for output: parameter<br>
<br>
What am I doing wrong? At least judging by the documentation, using the flags together should be supported. I've also tried many different permutation of the above command, just in case including:<br>
<br>
gsc -:d- -o <build directory>\<sub set build directory> -c ..\<some set of paths>\main.scm > out.txt<br>
<br>
gsc -:d- -o -c <build directory>\<sub set build directory> ..\<some set of paths>\main.scm > out.txt<br>
<br>
gsc -:d- -c <build directory>\<sub set build directory> ..\<some set of paths>\main.scm > out.txt<br>
<br>
Full story:<br>
<br>
I'm trying to get the gambit compiler working with the waf build system. Currently using this as the arguments to the build step:<br>
gsc -:d- -c -o ${TGT[0].bld_dir(env)} ${SRC} > out.txt<br>
<br>
Sadly, all I get is the above error.<br>
<br>
Any ideas?<br>
<br>
Thanks,<br>
Cameron<br></div></div>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote>
<br>
</blockquote></div><br></div>