[cfe-dev] clang assembler problems

Chris Lattner clattner at apple.com
Wed Feb 10 21:37:41 PST 2010

On Feb 10, 2010, at 9:36 PM, Eli Friedman wrote:

> On Wed, Feb 10, 2010 at 9:27 PM, kalyan ponnala
> <ponnala.kalyan at gmail.com> wrote:
>> hi,
>> I tried this by installing MinGW. When I execute a small program like
>> helloworld.c
>> #include<stdio.h>
>> int main()
>> {
>> printf("\n hello world");
>> return 0;
>> }
>> It gives the output as given in this snapshot. It still connects to mingw
>> but the assembler cant figure out these statements i guess. It is giving
>> errors as shown in the snapshot. Do you know why is it doing this?
> Hmm, I was under the impression that this was supposed to work; I
> think it has something to do with the target triple.  Can someone
> who's been working on Windows stuff please comment?

This is almost certainly because it's using the 'windows' target triple, not hte mingw target triple.  Anton, do you know anything about this?


More information about the cfe-dev mailing list