[cfe-dev] Clang as back-end
Anders Johnsen
skabet at gmail.com
Thu Oct 15 14:09:22 PDT 2009
Hi,
On Thu, Oct 15, 2009 at 22:54, Juan Carlos Martinez Santos
<juanc.martinez.santos at gmail.com> wrote:
> Hello,
>
> I tried to test the qualifier address_space so I used the example in the
> web site: http://clang.llvm.org/docs/LanguageExtensions.html#x86-specific
>
> I used <clang-cc + llvm-as + llc>, and I got the expected result; however,
> when I tried to generated the executable, I got the bellow error.
>
> Any idea that what can be wrong.
It looks like you have a source file without a main function. Either
add one, or compile with the -c flag and change addrspace2.exe to
addrspace2.o.
- Anders
More information about the cfe-dev
mailing list