Update Visual C make.cmd, use separate compilation for LOLA conf test.

This commit is contained in:
David Brown 2016-12-21 13:01:14 +00:00
parent 305781e000
commit 3ba0d7ae2c
5 changed files with 135 additions and 104 deletions

View file

@ -1,5 +1,9 @@
#!/bin/sh
. ../testenv.sh
$OBECOMP LSS.Mod LSB.Mod LSC.Mod LSV.Mod lola.Mod -m
$OBECOMP LSS.Mod
$OBECOMP LSB.Mod
$OBECOMP LSC.Mod
$OBECOMP LSV.Mod
$OBECOMP lola.Mod -m
./Lola RISC5.Lola result
. ../testresult.sh

View file

@ -14,12 +14,7 @@ export LD_LIBRARY_PATH=$1/lib:$LD_LIBRARY_PATH
rm -f *.o *.obj *.exe *.sym *.c *.h result new.asm $(basename $PWD)
# Under gcc generate assembly source for source change test.
# NOTE: The following CFLAGS causes the assembler to write source
# to a single file. When there are multiple Mod files, each
# corresponding assembly file will overwrite the previous. I
# cannot see any way to overcome this short of using -S
# on the voc command and calling 'as' explicitly.
# NOTE 2: The cygwin 64 bit build has relocation errors with
# NOTE: The cygwin 64 bit build has relocation errors with
# these assembly generation options.
if [ "$COMPILER" = "gcc" -a "$FLAVOUR" != "cygwin.LP64.gcc" ]
then export CFLAGS="-gstabs -g1 -Wa,-acdhln=new.asm -Wl,-Map=output.map"