Technical gcc / assembler question.

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Thu Jul 12 11:09:56 EDT 2007


On Thu, 12 Jul 2007 10:43:04 -0400
"Kristian Hermansen" <kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:

> 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.
>=20
> That is C++ code, not C code.  You must use g++, not gcc...

Of course it is C++ and my script
uses '/mnts/cdstools/gcc-3.3.3/linux-i386-2.3/bin/g++"

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9





More information about the Discuss mailing list