This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

What does " test ... || gcc ..." mean?


Hi all,

I want to understand the source code of gcc so I am studying the build
process at first. In the process of "make bootstrap", the following command
appears:

test x"no" != xyes || \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../source/libiberty/../include
../../source/libiberty/argv.c -o pic/argv.o

I know what "test" and "gcc" are, but can't understand the whole command.
Could someone explain me what it does? What does this "||" between test and
gcc mean?
thanks in advance!

Luker Lu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]