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

Re: Q: gcc/g++ test programs, xmkmf local config files, ...



> Hi,
> 
> I've installed stabled gcc/g++ recently without any problem. However,
> when I tried to compile dxpc-3.6.0, the script complains that g++
> is not able to create binary. Should I suspect any problem with
> gcc/g++ installation? If so, how would I be able to confirm this?
> Are there any test programs out there that I can test?

To test, type:
$ echo 'main(){printf("hello world\n");}' > hello.cc
$ g++ -o hello hello.cc
hello.cc: In function `int main()':
hello.cc:1: warning: implicit declaration of function `int printf(
$ ./hello
hello world

If you got the last bit of output, you're able to create binary files.

But probably something else is wrong, and we'll be able to help you
better if you give us the output of the last couple of commands that
fail.



-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: