Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22463

Make change directory and allow parallel jobs at one fails

$
0
0

I'm using make command to build my C files in Linux. I can build it without errors form another directory using -C DIRECTORY option. I can build it in it's directory allowing multiple jobs using -j [N] option. But when I try to build if form another directory with multiple jobs make -C DIRECTORY -j [N] it fails with: gcc: error: some_file: No such file or directory

How can I enforce make to change directory and build with multiple jobs together?


Viewing all articles
Browse latest Browse all 22463


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>