multi-threaded compiling

Mischa Baars <[email protected]> Mon, 11 Mar 2024 09:56:25 +0100
Newsgroups gmane.comp.shells.bash.bugs,gmane.comp.gnu.make.general
Message-ID <CA+b5WFG9f_aVouwKv2AnBVcMTFgAMU2v36iiPQW8rHYb9pcMMw@mail.gmail.com>
Hi,

I'd like to compile a project of mine using multiple logical cores.

I've attached the problem. It consists of two parts:

1) multi-threaded bash script and / or multi-threaded Makefile

Running bash script functions as expected, but executing the same line of
code with make and / or the command line, does not function. Perhaps
someone could explain to me why?

2) passing a string argument from a bash script and / or Makefile to the
gcc -D option

Running the makefile functions as expected, but I have not been able to get
similar code to work from a bash script. Can someone please explain to me
what I'm doing wrong?

Hope to hear from you soon.

Best regards,
Mischa Baars.
2024031100 - gnu questions.tar.xz (application/x-xz, 936 B) - not displayed