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

Re: potato & C++



On Sun, May 28, 2000 at 07:29:32 -0400, jon@elephants.org wrote:
> I'm having trouble with potato's C++. Programs, including 'Hello World',
> compile cleanly but produce only produce some line feeds as output.

Weird.

> g++  --version 2.95.2
> (compiles clean w/ g++, but produces only a few blank line feeds)

What does "ldd" on the resulting binary say?

> (doesn't compile clean with gcc)

You need to use "g++". "gcc" doesn't do the various bits of magic needed for
compiling/linking C++ code (e.g. include patch, adding -lstdc++).

Ray
-- 
Tevens ben ik van mening dat Nederland overdekt dient te worden.



Reply to: