![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
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:
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#2 |
|
Professional Programmer
|
i think most people would use a Makefile for this purpose.
|
|
|
|
|
|
#3 |
|
Programmer
|
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
__________________
/* LANCE */ C++; /* this makes C bigger but returns the old value */ char *site = "slackwise.net", *home = "lance.slackwise.net", *pics = "flickr.com/photos/slackwise"; |
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
yeah, i figured that out soon afterwards
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|