Technical gcc / assembler question.

Kristian Hermansen kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jul 12 10:43:04 EDT 2007


On 7/12/07, Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org> wrote:
> Unfortunately setarch does not make any difference.
> Additionally, I compiled a simple hello.C
> #include <iostream>
> int main()
> {
>         std::cout << "Hello, world!\n";
>         return 0;
> }
>
> With the same result.

That is C++ code, not C code.  You must use g++, not gcc...
-- 
Kristian Hermansen

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list