Its not that simple . If you have a single sourcefile with no Libraries to be linked you can probably do
#CC=/usr/swf/bin/gcc #CXX=/usr/sfw/bin/g++ #export CC CXX #/usr/sfwbin/gmake objectfilename If you have a more sofisticated set of C or C++ sourcefiles you need to learn about makefiles , the Linker and other things These books comes to mind, http://www.amazon.com/UNIX-Programming-Environment-Brian-Kernighan/dp/013937681X http://www.oreilly.com/catalog/make3/ This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
