Search code examples
linuxbuildmakefileopensolaris

makefile from Linux doesn't work in OpenSolaris


In OpenSolaris OS, when I run makefile generated by Eclipse CDT on the Linux OS, I get an error on the first -include line.

The same error was in FreeBSD, and was solved by executing gmake instead of make.
In OpenSolaris (just installed) gmake doesn't work (command not found).

What package should I install and how exactly, to build Linux-generated C++ project in OpenSolaris?


Solution

  • This tutorial might help you get a working / agreeable tool chain. I'm not sure what you already have, you may just need to install SUNWgmake to get up and running. Note, its just the tip of the portability iceberg.