Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Technical gcc / assembler question.



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.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org