Need Help Urgently
Hi Guys,
I doing some stuff with make command in Linux. And am stuck at some point. Consider that I am building my application in Linux shell using make command but somehow the build fails. Is there any way I can find out that the build has failed (of course looking at shell for error messages will do the job for me but I don't want that). Is there any flag make or shell will set/reset if such failure occurs ? Thanks in Advance :-) |
Presumably make returns a non-zero value on failure and in Bash, the return value is stored in the variable $?, so you can test that.
Also, please use descriptive thread titles, as you're told to when you post a thread. This isn't urgent for anyone here, either, as LQ is a volunteer site. |
From "man make":
Code:
... |
without knowing the details and information we can not help
your post is like calling the car mechanic on the telephone and asking him to tell you what is wrong be telling him " the car dose not work" some unknown program will not build using make on some unknown OS using some unknown version of the gcc tools using some unknown instructions without knowing if configure worked and without knowing if this is a Makefile project |
Thanx to both of u Nylex and paulsm4 :-)
@Nylex: Sorry for the title. Will be carefull next time. |
Quote:
Quote:
|
All times are GMT -5. The time now is 11:26 PM. |