[OmniOS-discuss] gcc : include path settings?

Chris Nehren cnehren+omnios-discuss at omniti.com
Sat Oct 12 17:49:09 UTC 2013


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 main(void) {
>   printf("Hello, World!\n");
>   return 0;
> }
> -- helloworld.c --

Please show the commandline you're using to build this
application, and all output until the next shell prompt.

> overall, the omnios environment feels good, just
> a bit strange for someone migrating from bsd. :)

It's a bit strange at first but, coming from BSD, I think you'll
grow to appreciate the minimalism and lack of nonsense that you
find in the Linux world.

-- 
Chris Nehren


More information about the OmniOS-discuss mailing list