GNU Make --output-sync doesn't work?

this is driving me bonkers.

For parallel make builds (-j), you're supposed to be able to synchronize the console output. Here is ref:

I'm using GNU Make 3.82 for x86_64-redhat-linux-gnu

Un-Synchronized:

make -j8 all         //not synchronized

yields (i'm using eclipse-cdt managedbuild here):

Building file: ../dome.c
Building file: ../main.c
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"dome.d" -MT"dome.d" -o "dome.o" "../dome.c"
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.c"
Finished building: ../dome.c
Finished building: ../main.c


Building target: empty_linux
Invoking: GCC C Linker
gcc  -o "empty_linux"  ./dome.o ./main.o   
Finished building target: empty_linux

Synchronized Attempt

make -j8 all --output-sync    

yields (same result for -O/-Oline/etc):

make: unrecognized option '--output-sync 

Question

what the heck am I doing wrong??

Answers


The --output-sync option is only available in GNU make 4.0. Also, in your case you should use:

--output-sync=target

or

-Otarget

But this won't work with version 3.82.


Need Your Help

Python - automating MySQL query: passing parameter

python mysql parameters automation

The code in the sequence is working fine, but looking to improve the MySQL code to a more efficient format.

How to replace storyboard with an '.xib' file in coding

ios iphone objective-c xcode-storyboard

I found a UIPagecontrol example while googling and this works perfectly when i try to create this as a completely new project. Now i want to add this to my code