Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Bash / Shell Scripting (http://www.programmingforums.org/forum26.html)
-   -   Shell Script For Gcc/g++ Usage [solved] (http://www.programmingforums.org/showthread.php?t=1469)

bl00dninja Dec 8th, 2004 9:46 AM

has anyone written a shell script to simplify the use of GCC or G++?

example:

$ [scriptname]

what language? [choices]

(automatically directs libraries)

program name?

[end example]

or something like that.

if not i will write one, but being a total linux noob right now, i'm just learning.

:ph34r:

Dizzutch Dec 31st, 2004 10:20 PM

i think most people would use a Makefile for this purpose.

Lance Jan 2nd, 2005 1:05 AM

Indeed. Makefiles exist for this soul purpose. If you want to learn how to make your own Makefiles (which are quite easy, actually) check out this site:

http://www.gnu.org/software/make/make.html

And if you want a nice tutorial on making Makefile's, check this out:

http://www.delorie.com/gnu/docs/make/make_4.html

bl00dninja Jan 2nd, 2005 8:25 AM

yeah, i figured that out soon afterwards


All times are GMT -5. The time now is 3:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC