[m-rev.] diff: tools/lmc: include library in C include path
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Oct 25 12:35:52 AEST 2001
Branches: main
Estimated hours taken: 0.25
tools/lmc:
Include the library directory in the C include path.
This is needed to ensure that the C compiler picks up the
right header files for the hlc.gc and hl.gc grades.
Workspace: /home/earth/fjh/ws-earth3/mercury
Index: tools/lmc
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/lmc,v
retrieving revision 1.3
diff -u -d -r1.3 lmc
--- tools/lmc 27 Apr 2001 03:28:57 -0000 1.3
+++ tools/lmc 25 Oct 2001 02:33:25 -0000
@@ -51,7 +51,7 @@
MERCURY_LIBS="$WORKSPACE/trace/libmer_trace.a $WORKSPACE/browser/libmer_browser.a $WORKSPACE/library/libmer_std.a $WORKSPACE/runtime/libmer_rt.a $gclib -lm"
export MERCURY_LIBS
-MERCURY_ALL_C_INCL_DIRS="-I$WORKSPACE/runtime -I$WORKSPACE/trace -I$WORKSPACE/boehm_gc -I$WORKSPACE/boehm_gc/include"
+MERCURY_ALL_C_INCL_DIRS="-I$WORKSPACE/library -I$WORKSPACE/runtime -I$WORKSPACE/trace -I$WORKSPACE/boehm_gc -I$WORKSPACE/boehm_gc/include"
export MERCURY_ALL_C_INCL_DIRS
MMAKE_DIR=$WORKSPACE/scripts
export MMAKE_DIR
@@ -69,7 +69,7 @@
CDEBUG_FLAGS=""
fi
-DIR_FLAGS="--cflags -I$WORKSPACE/trace --cflags -I$WORKSPACE/runtime --cflags -I$WORKSPACE/boehm_gc --cflags -I$WORKSPACE/boehm_gc/include -I$WORKSPACE/library"
+DIR_FLAGS="--cflags -I$WORKSPACE/trace --cflags -I$WORKSPACE/library --cflags -I$WORKSPACE/runtime --cflags -I$WORKSPACE/boehm_gc --cflags -I$WORKSPACE/boehm_gc/include -I$WORKSPACE/library"
if test "$MMC_UNDER_GDB" != ""
then
--
Fergus Henderson <fjh at cs.mu.oz.au> | "... it seems to me that 15 years of
The University of Melbourne | email is plenty for one lifetime."
WWW: <http://www.cs.mu.oz.au/~fjh> | -- Prof. Donald E. Knuth
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list