aha!  thanks

On Mon, Feb 3, 2014 at 9:53 PM, Bruce Mitchener
<[email protected]>wrote:

> emcc contains this:
>
> for i in range(1, len(sys.argv)):
>   arg = sys.argv[i]
>   if not arg.startswith('-'):
>     if arg.endswith(('.c','.m')):
>       use_cxx = False
>     if arg.endswith('.h') and sys.argv[i-1] != '-include':
>       header = True
>
> Your file ends in '.C' not '.c' ...
>
>  - Bruce
>
>
>
> On Tue, Feb 4, 2014 at 12:48 PM, Mark Hahn <[email protected]> wrote:
>
>> Thanks.
>>
>> I realized I don't need to build clang.  Now I'm using the latest sdk
>> with VS 2010 and I've gotten VS project properties looking good.  However
>> my build immediately fails with the error "GCCCOMPILE : error : invalid
>> argument '-std=c++03' not allowed with 'C/ObjC'.  I'm confused as I don't
>> know where the the -std or the c/objc are coming from. The command line
>> causing this error is ...
>>
>>  C:\Program Files (x86)\Emscripten\emscripten\1.8.2\emcc.bat -o
>> Emscripten/Debug/PGBASICS.o -DEMSCRIPTEN -D__STDC__ -MD -MF
>> "Emscripten/Debug/PGBASICS.d" -O0 -I../../../Headers
>> -I../../../Headers/win-hdrs -x c ../../../Source/PGBASICS.C
>>
>> So once again I'm stuck.
>>
>> Any idea what causes this error.
>>
>>
>> On Mon, Feb 3, 2014 at 8:35 PM, Jukka Jylänki <[email protected]> wrote:
>>
>>> vs-tool currently works with Visual Studio 2010 and Clang 3.2. It's not
>>> possible to build Clang with VS2012 or newer due to some VS compiler
>>> issues, which LLVM devs have pointed to have been fixed in Clang 3.4 stable
>>> release (which though we don't yet use in Emscripten). Building Clang 3.2
>>> with VS2010 and CMake should work ok, so that would be your best try. I'm
>>> not sure where the "Host Visual Studio must be at least 2012" message comes
>>> from - perhaps that is something that Clang added in 3.4 release or newer?
>>>
>>>
>>> 2014-02-03 Mark Hahn <[email protected]>:
>>>
>>> I remembered that I had built the llvm toolchain with cmake set for
>>>> generator Visual Studio 12. I tried to go back and redo the llvm build for
>>>> Visual Studio 10. However cmake says that "Host Visual Studio must be at
>>>> least 2012 (MSVC 17.0)". So I seem to be between a rock and a hard place.
>>>> I will try wiping everything and starting from scratch with vs 2010.
>>>> Hopefully i can find a llvm build compatible with 2010.
>>>>
>>>> Is it possible the current clang/llvm/emscripten toolchain is not
>>>> compatible with visual studio?
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "emscripten-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to