Results 1 to 6 of 6
Hi
I have to Linux questions that confuse me long time ago although they may look quite basic!
1. What is the difference between the files: .bashrc and .bash_profile ?
...
- 12-14-2006 #1Just Joined!
- Join Date
- Jun 2006
- Location
- Egypt, CAIRO
- Posts
- 48
Quite Basic Linux question...
Hi
I have to Linux questions that confuse me long time ago although they may look quite basic!
1. What is the difference between the files: .bashrc and .bash_profile ?
2. What is the difference between: make, make install, makefile, ... is there anyother thing related to make else? mention please and give simple explaination.
Thanks in advance,
Ahmad,
--
Linux .. SusE 10 .. KDE ..
- 12-14-2006 #2Just Joined!
- Join Date
- Dec 2006
- Posts
- 52
.bashrc - is run everytime you open a terminal.
.bash_profile - is run when you log on
make - compiles your source code
make install - puts the files in the correct places (binaries in */bin, man pages in */man, libraries in */lib etc)
make clean - removes all the files created by make
Makefile - results from the configure script's findings and directs the make process
- 12-14-2006 #3Just Joined!
- Join Date
- Jun 2006
- Location
- Egypt, CAIRO
- Posts
- 48
Thank you very much ennoil for your detailed answer

But I still have some wonder..
In a make file, i saw somethings like the follwoing lines:
edihm : main.o source.c
main.o gcc -o .....
and some other things i don't remember exactly
Can you kindly further explain them out in the same easy manner you followed in the above reply?
Thanks a lot,
Ahmad,
- 12-14-2006 #4Linux User
- Join Date
- Jun 2006
- Posts
- 311
Hi ahmad_abdulghany,
Read the following websites to know more about make, Makefile and how it helps while doing compilation, installation or uninstallation, etc. : -
http://users.actcom.co.il/~choo/lupg...makefiles.html
http://www.opussoftware.com/tutorial/TutMakefile.htm
http://www.wlug.org.nz/MakefileHowto
With Regards,
Thinker
- 12-14-2006 #5Just Joined!
- Join Date
- Dec 2006
- Posts
- 52
Unfortunately I can't tell you what is inside the make file. I know it has something to do with the way the code is compiled but I am not a programmer.
I would say the links provided by Thinker would be a better resource.
- 12-14-2006 #6
The makefile is a set of rules used by the make utility
when it is run. For complex programs, the makefile can be very
complex. It names the various source files, gives compiler options
and organizes the compilation.


Reply With Quote