Re: potato & C++
On Sun, 28 May 2000, J.H.M. Dassen (Ray) wrote:
> 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?
I feel stupid now. It was a $PATH problem.
I was doing some quick & dirty testing, wrote source in home
directory. Since my PATH didn't include home or ./ , running
a.out was picking up an a.out lying around in my projects subdir --
which happen not to produce output.
Which of course didn't change when I reduced it to "hello
world" to trouble shoot.
thanks,
Jon
Reply to: