mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 09:52:24 +00:00
Experiment with assmbly code listing - thinking about new tests.
This commit is contained in:
parent
156d9b0183
commit
57cd40aa9d
2 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
. ../testenv.sh
|
. ../testenv.sh
|
||||||
voc hello.mod -m
|
# Generate mixed source and assembly code listing
|
||||||
|
CFLAGS="-gstabs -g1 -Wa,-acdhln=hello.s" && voc hello.mod -m
|
||||||
./hello >result
|
./hello >result
|
||||||
. ../testresult.sh
|
. ../testresult.sh
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,14 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Be independent of any CFLAGS settings in the calling environment
|
||||||
|
CFLAGS =
|
||||||
|
|
||||||
# Gnu make has the make initial directory in CURDIR, BSD make has it in .CURDIR.
|
# Gnu make has the make initial directory in CURDIR, BSD make has it in .CURDIR.
|
||||||
ROOTDIR = $(CURDIR)$(.CURDIR)
|
ROOTDIR = $(CURDIR)$(.CURDIR)
|
||||||
|
|
||||||
|
# Configuration.Make is created by src/tools/make/configure.c, which is run on
|
||||||
|
# *every* build by the makefile in the enlistment root.
|
||||||
include ./Configuration.Make
|
include ./Configuration.Make
|
||||||
|
|
||||||
FLAVOUR = $(OS).$(DATAMODEL).$(COMPILER)
|
FLAVOUR = $(OS).$(DATAMODEL).$(COMPILER)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue