Sorry, I'm being a dolt. xx ran perfectly:
Hello World!

R
On 1/19/2014 10:01 AM, Apostolos Syropoulos wrote:
On Sunday, January 19, 2014 12:19 PM, Rainer Heilke <[email protected]> 
wrote:
I've tried the gnu compiler, the SunStudio compiler, and they all fail.
In fact, when I run configure with CC=/usr/bin/gcc it quickly dies with:
configure: error: in `/data/build/cppunit-1.12.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
Since you are getting this error, I suspect your compiler is not properly 
installed..
Try the following

$ gcc -v
$ gcc -o xx xx.c

where xx.c is the following simple file

#include <stdio.h>

int main() { printf("Hello World!\n"); }

and tell what you get.

A.S.

----------------------
Apostolos Syropoulos
Xanthi, Greece


_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

--
Mind the Gap
Web: http://www.dragonhearth.com

_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to