[OmniOS-discuss] gcc : include path settings?

2013-10-12 Thread Mayuresh Kathe
hello, new here, just started off today. i've installed gcc47 from the pkg repository. how do i set the include path for gcc47? simple programs like the one below fail to compile. -- helloworld.c -- #include stdio.h int main(void) { printf(Hello, World!\n); return 0; } -- helloworld.c --

Re: [OmniOS-discuss] gcc : include path settings?

2013-10-12 Thread Chris Nehren
On Sat, Oct 12, 2013 at 13:36:08 -0400, Mayuresh Kathe wrote: hello, new here, just started off today. i've installed gcc47 from the pkg repository. how do i set the include path for gcc47? simple programs like the one below fail to compile. -- helloworld.c -- #include stdio.h int

Re: [OmniOS-discuss] gcc : include path settings?

2013-10-12 Thread Theo Schlossnagle
You likely don't have any system headers installed. Those come in the system/header package. On Sat, Oct 12, 2013 at 1:36 PM, Mayuresh Kathe mayur...@kathe.in wrote: hello, new here, just started off today. i've installed gcc47 from the pkg repository. how do i set the include path for