When MAKEMOS.BAT is modified to pass the -u option to make so that everything is rebuilt (as discussed in issue #9), the build fails to compile compfile.c because stdio.h can't be found. Once that issue is resolved, a library cannot be found.
The solution is to set the following environment variables to refer to the corresponding directories from the Git repository:
INCLUDE: INCLUDE
LIB: SOURCES/src/libs
BIN/NEW-VARS.BAT sets these variables (amongst others):
set LIB=C:\LIB;%LIB%
set INCLUDE=C:\INCLUDE;%INCLUDE%
so one solution is to arrange for the above Git directories to be in those locations, then run that batch file.
For what it's worth, what I have actually done is to modify MAKEMOS.BAT to handle everything being under E:\, and added these lines to that batch file:
When
MAKEMOS.BAT
is modified to pass the-u
option tomake
so that everything is rebuilt (as discussed in issue #9), the build fails to compilecompfile.c
becausestdio.h
can't be found. Once that issue is resolved, a library cannot be found.The solution is to set the following environment variables to refer to the corresponding directories from the Git repository:
INCLUDE
:INCLUDE
LIB
:SOURCES/src/libs
BIN/NEW-VARS.BAT
sets these variables (amongst others):so one solution is to arrange for the above Git directories to be in those locations, then run that batch file.
For what it's worth, what I have actually done is to modify
MAKEMOS.BAT
to handle everything being underE:\
, and added these lines to that batch file: