Hello again.
Ross Burton wrote in
:
|Hi,
|
|An observation. This command isn't parallelised:
|
|$ make -j build
|
|This is because it immediately re-calls $(MAKE) in OBJDIR, but doesn't
|pass $(MAKEFLAGS) so the -j is lost.
(Answered in the other thread on this, too.)
--steffen
|
|Der
Ross Burton wrote in
:
|On Tue, 1 Feb 2022 at 14:53, Ross Burton wrote:
|>
|> When I cross-compile s-nail I get a slew of errors:
...
|OK, found it.
|
|My CC has options, as our compiler *needs* a --sysroot argument and we
|pass that via CC to ensure that it is always used.
|
|However,
When I cross-compile s-nail I get a slew of errors:
s-nail-14.9.23/src/mx/accmacvar.c:515:25: error: 'su_ERR_OVERFLOW'
undeclared (first use in this function); did you mean
'su_STATE_ERR_OVERFLOW'?
s-nail-14.9.23/src/mx/accmacvar.c:522:25: error: 'su_ERR_NOENT'
undeclared (first use in this
OK, found it.
My CC has options, as our compiler *needs* a --sysroot argument and we
pass that via CC to ensure that it is always used.
However, su-make-errors.sh does "${CC}" which means the shell tries to
find a binary called 'gcc --sysroot=/foo', which doesn't exist. The
loop has done set
Hi,
An observation. This command isn't parallelised:
$ make -j build
This is because it immediately re-calls $(MAKE) in OBJDIR, but doesn't
pass $(MAKEFLAGS) so the -j is lost.
Ross