Files
mercury/compiler/COMP_FLAGS.in
Peter Wang 0290b5a4bf This fixes some problems with building everything with `mmake --use-mmc-make'
Estimated hours taken: 3
Branches: main

This fixes some problems with building everything with `mmake --use-mmc-make'
on x86, or possibly any platform where shared libraries are supported.

Mmake.workspace:
	Add "--mercury-linkage static" or "--mercury-linkage shared" to
	`MCFLAGS' depending on whether the `LINK_STATIC' makefile variable is
	yes or no.

analysis/ANALYSIS_FLAGS.in:
	Add -L<dir> options so that the analysis library can find the boehm_gc,
	runtime and standard library files when built in shared linking mode.

browser/Mercury.options:
	Work around a problem with per-file variables and `mmake
	--use-mmc-make'.

compiler/COMP_FLAGS.in:
profiler/PROF_FLAGS.in:
slice/SLICE_FLAGS.in:
	Remove "--linkage shared" from these files.  The Mmakefiles in these
	directories have "LINK_STATIC=yes" set.  This was causing a link error
	where the object files where being built with PIC but expected to
	link against lib*.a files.
2006-01-12 07:07:31 +00:00

23 lines
627 B
Plaintext

@BOOTSTRAP_MC_ARGS@
--no-infer-all
--halt-at-warn
--no-warn-inferred-erroneous
--no-mercury-stdlib-dir
-I../library
-I../browser
-I../mdbcomp
-I../analysis
--c-include-directory ../boehm_gc
--c-include-directory ../boehm_gc/include
--c-include-directory ../runtime
--c-include-directory ../library
--c-include-directory ../library/Mercury/mihs
--c-include-directory ../mdbcomp
--c-include-directory ../mdbcomp/Mercury/mihs
--c-include-directory ../browser
--c-include-directory ../browser/Mercury/mihs
--c-include-directory ../trace
--c-include-directory ../analysis
--no-main
--config-file ../scripts/Mercury.config.bootstrap