Hello.

Please help me to compile qc--.

My environment is:
freebsd 6.1 32bit machine
noweb 2.10
ocaml 3.09.3
qc--20061129
mk-20061129

$ mk all all.opt
...
cp qc-- ../bin/qc--
+ cd runtime
+ mk depend
warning: skipping missing include file: DEPEND: No such file or directory
notangle -L -filter "../config/nocond $config_arch" runtime.nw -Rruntime.c > 
runtime.c
ignoring undefined chunk name: <<machine-dependent macro definitions for the 
implementation>>
mk: notangle -L -filter ...  : exit status=exit(2), deleting 'runtime.c'
+ exit 1
mk: ./mkdirs src runtime  : exit status=exit(1)

I dont know about Noweb at all.

The config.mk is:

config_arch                 = x86-bsd
config_wordsize             = 32
config_endian               = little
config_float_impl           = none
config_has_latex            = true
config_cc                   = /usr/bin/gcc
config_stdc_version         = undefined
config_stdc_iec559          = 0
config_lua_inc              = -I/usr/local/include/lua40
config_lua_lib              = -L/usr/local/lib/
config_lua_libs             = -llua -llualib
config_prefix               = /usr/local
config_build_interp         = interp
config_test                 = /bin/test
OCAMLC               = ocamlc.opt
OCAMLO               = ocamlopt.opt

#
# Locations for installed files
#

install_bin                 = $config_prefix/bin
install_lib                 = $config_prefix/lib/qc--
install_lua                 = $config_prefix/lib/qc--
install_inc                 = $config_prefix/include/qc--
install_doc                 = $config_prefix/doc/qc--
install_man1                = $config_prefix/man/man1

# Build directory
BT="."

# do not edit
HERE = `basename $PWD`
B = `if [ "$BT" != "." ]; then (cd $BT; pwd | sed "s/.*/&\/$HERE\//"); fi`

config_swapopt = Options.swap=nil


One good guy had attempted to help me with a patch attachid with this email, 
but it does not solve all problems:

$ mk all all.opt
...
+ mk update
gcc -ansi -pedantic -Wall -Wno-long-long -c -I. runtime.c
mk: don't know how to make 'x86-bsd.o'
runtime.nw: In function `Cmm_MakeUnwindCont':
runtime.nw:413: warning: ISO C forbids conversion of function pointer to object 
pointer type
runtime.nw: In function `Cmm_show_activation':
runtime.nw:711: warning: ISO C forbids conversion of function pointer to object 
pointer type
+ exit 1
mk: ./mkdirs src runtime  : exit status=exit(1)

ermine  
--- runtime.nw.orig     2007-01-05 15:13:56.000000000 +0200
+++ runtime.nw  2007-01-05 15:14:11.000000000 +0200
@@ -78,6 +78,11 @@
 \section{Implementation}
 
 First, the machine-dependent register information.
+<<machine-dependent macro definitions for the public interface ((x86-bsd))>>=
+#define NUM_REGS 12
+<<machine-dependent macro definitions for the implementation ((x86-bsd))>>=
+#define ESP 8 /* r[4] */
+#define PC  0 /* c[0] */
 <<machine-dependent macro definitions for the public interface ((x86-linux))>>=
 #define NUM_REGS 12
 <<machine-dependent macro definitions for the implementation ((x86-linux))>>=
_______________________________________________
Cminusminus mailing list
[email protected]
https://cminusminus.org/mailman/listinfo/cminusminus

Reply via email to