[gambit-list] Problems with using both -o and -c at the

Cameron Hatfield kinguy at gmail.com
Thu Aug 27 17:18:33 EDT 2009


Also, this is on Vista x64, regular command-line (with Windows SDK
Environment).
-Cameron

On Thu, Aug 27, 2009 at 2:17 PM, Cameron Hatfield <kinguy at gmail.com> wrote:

> 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.
> Also doesn't work with just plain:
> gsc -:d- -c -o <build directory, with no sub directories> -c ..\<some set
> of paths>\main.scm > out.txt
>
> gsc -:d- -c -o <build directory, with no sub directories> main.scm >
> out.txt
>
> gsc -:d- -c -o cat main.scm > out.txt
>
> -Cameron
>
>
> On Thu, Aug 27, 2009 at 2:00 PM, Marc Feeley <feeley at iro.umontreal.ca>wrote:
>
>> 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...
>>
>> Marc
>>
>>
>> On 27-Aug-09, at 4:26 PM, Cameron Hatfield wrote:
>>
>>  I've been trying for a little bit now to try to get this type of command
>>> line working:
>>>
>>> gsc -:d- -c -o <build directory>\<sub set build directory> ..\<some set
>>> of paths>\main.scm > out.txt
>>>
>>> And I end up with this error:
>>> *** ERROR IN ##main -- string expected for output: parameter
>>>
>>> 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:
>>>
>>> gsc -:d- -o <build directory>\<sub set build directory> -c ..\<some set
>>> of paths>\main.scm > out.txt
>>>
>>> gsc -:d- -o -c <build directory>\<sub set build directory> ..\<some set
>>> of paths>\main.scm > out.txt
>>>
>>> gsc -:d- -c <build directory>\<sub set build directory> ..\<some set of
>>> paths>\main.scm > out.txt
>>>
>>> Full story:
>>>
>>> I'm trying to get the gambit compiler working with the waf build system.
>>> Currently using this as the arguments to the build step:
>>> gsc -:d- -c -o ${TGT[0].bld_dir(env)} ${SRC} > out.txt
>>>
>>> Sadly, all I get is the above error.
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>> Cameron
>>> _______________________________________________
>>> Gambit-list mailing list
>>> Gambit-list at iro.umontreal.ca
>>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090827/a486e3e8/attachment.htm>


More information about the Gambit-list mailing list