I have a final exam next week, and in the exercise paper which is given us to study, there is a gcc option that I could not find on gcc manual page.
It is something like that gcc -J 4 program.c -o filename
.
Is there someone knows that what it is for?
-j 4
: unrecognized command line option ‘-j’ . gcc: error: 4: No such file or directory. ... But is OK with-J 4
, i.e. an upper case J. - – Knud Larsen Jun 03 '16 at 23:10-c
,-o
. You are going to look up the others almost every time anyway, unless you use them enough to remember them. Then they'll change. It's still stupid to require a student to memorize them, and then base the student's grade on that. It's like having a student auto mechanic memorize where a specific part is on the shelf at the one local AutoZone auto parts store. "In what aisle and on what shelf is the left-hand muffler valve in the 4th Ave Auto Zone?" – Andrew Henle Jun 04 '16 at 00:07-J 4
, as in with a number, and, since it doesn't seem to match anything in gcc, I wonder if this is confused with the-j <N>
option ofmake
. In make, it sets the maximum number of compilations to run in parallel: on a four-processor system one might runmake -j4
to utilize all processors. – ilkkachu Jun 04 '16 at 10:04