make exit code

Andre Keller ak at list.ak.cx
Wed Nov 24 17:54:05 PST 2010


Am 25.11.2010 02:41, schrieb robert:
> What, in general, should I expect from "make" command?  A success 
> notification?  

nope

> Exit code 0? 

yes

>  How about this ... fatal?
>   

yes

> make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
> make[3]: Nothing to be done for `info'.
> make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
> make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
> make[3]: Nothing to be done for `info-am'.
> make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
> make[2]: *** [info-recursive] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
> make[1]: *** [all-bfd] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
> make: *** [all] Error 2
>   


make just executes the commands listed in Makefile. If anything fails
you'll see an error like above, if not it just finishes (with exit code 0).






More information about the lfs-support mailing list