* Neko 1.0
@ 2005-08-18 9:06 Nicolas Cannasse
2005-08-18 14:33 ` [Caml-list] " Matt Gushee
2005-08-18 15:41 ` Build errors (was Re: [Caml-list] Neko 1.0) Matt Gushee
0 siblings, 2 replies; 10+ messages in thread
From: Nicolas Cannasse @ 2005-08-18 9:06 UTC (permalink / raw)
To: caml-list
Hi list,
I have released Neko 1.0 which is an intermediate programming language with
its virtual machine. The compiler is written in OCaml and the VM in C. It
might be interesting for people involved in language design, since Neko is
providing a common reusable runtime for language designers.
You can have a look at the documentation and download the release at
http://nekovm.org
Comments and Questions are welcome,
Nicolas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Caml-list] Neko 1.0
2005-08-18 9:06 Neko 1.0 Nicolas Cannasse
@ 2005-08-18 14:33 ` Matt Gushee
2005-08-18 14:51 ` Matt Gushee
2005-08-18 15:41 ` Build errors (was Re: [Caml-list] Neko 1.0) Matt Gushee
1 sibling, 1 reply; 10+ messages in thread
From: Matt Gushee @ 2005-08-18 14:33 UTC (permalink / raw)
To: caml-list
Nicolas Cannasse wrote:
> I have released Neko 1.0 which is an intermediate programming language with
> its virtual machine. The compiler is written in OCaml and the VM in C.
This looks like a really cool thing. Haven't tried it yet, but I'm
working on it. Meanwhile:
* Your installation docs should include links to OCaml and libgc--
especially the latter, since it takes a bit of effort to search for
it--and there seems to be another LibGC for .Net.
* Your cat logo is nice, but at first glance it looked like a wolf. But
I suppose that will only bother people who know Japanese ;-)
--
Matt Gushee
Englewood, CO, USA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Caml-list] Neko 1.0
2005-08-18 14:33 ` [Caml-list] " Matt Gushee
@ 2005-08-18 14:51 ` Matt Gushee
[not found] ` <014e01c5a406$45a30dc0$ef01a8c0@warp>
0 siblings, 1 reply; 10+ messages in thread
From: Matt Gushee @ 2005-08-18 14:51 UTC (permalink / raw)
To: caml-list
Matt Gushee wrote:
> * Your installation docs should include links to OCaml and libgc--
> especially the latter, since it takes a bit of effort to search for
> it--and there seems to be another LibGC for .Net.
Or is there? I downloaded libgc_1_1.zip from
http://sourceforge.net/projects/libgc/, but I wonder if that's the right
package. Your docs say libgc should be installed, but according to the
README file in the package I downloaded, it is intended to be added into
your source tree--there is no documented installation procedure. Also,
it's C++, and appears to be primarily geared toward MSVC projects. Have
I got the wrong one?
--
Matt Gushee
Englewood, CO, USA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Caml-list] Neko 1.0
[not found] ` <014e01c5a406$45a30dc0$ef01a8c0@warp>
@ 2005-08-18 15:12 ` Matt Gushee
0 siblings, 0 replies; 10+ messages in thread
From: Matt Gushee @ 2005-08-18 15:12 UTC (permalink / raw)
To: caml-list
Nicolas Cannasse wrote:
>>Or is there? I downloaded libgc_1_1.zip from
>>http://sourceforge.net/projects/libgc/, but I wonder if that's the right
>> package. Your docs say libgc should be installed, but according to the
>>README file in the package I downloaded, it is intended to be added into
>>your source tree--there is no documented installation procedure. Also,
>>it's C++, and appears to be primarily geared toward MSVC projects. Have
>>I got the wrong one?
>
> Try http://www.hpl.hp.com/personal/Hans_Boehm/gc/
Yes, I figured that out, with the help of the Debian package database
(really a marvelous tool, even if you don't use Debian). It also looks
like most Linux distributions provide the package, but they don't all
call it 'libgc'. On Arch Linux, for example, the package name is just 'gc'.
Anyway, merci beaucoups.
--
Matt Gushee
Englewood, CO, USA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 9:06 Neko 1.0 Nicolas Cannasse
2005-08-18 14:33 ` [Caml-list] " Matt Gushee
@ 2005-08-18 15:41 ` Matt Gushee
2005-08-18 18:22 ` skaller
1 sibling, 1 reply; 10+ messages in thread
From: Matt Gushee @ 2005-08-18 15:41 UTC (permalink / raw)
To: caml-list
> I have released Neko 1.0 which is an intermediate programming language with
Okay, I think I have taken care of all the prerequisites, and tried
compiling Neko, but there were a couple of errors:
1) lib.n depends on test.n, which is not provided. I created
libs/test.neko using your "hello world" code, and that seems to
work, but ...
2) Nasty looking error that I don't know how to interpret (see 'make'
output below) ... unless ... I noticed a warning about the Apache
version. Is that the problem? I have Apache 2.0.54, and would
really rather not downgrade if I can avoid it.
Also, I am running Arch Linux 0.7, with glibc 2.3.4 and gcc 3.4.3.
--
Matt Gushee
Englewood, CO, USA
cd vm; make -f ../Makefile libneko.so
make[1]: Entering directory `/.devel/local.src/neko-1.0/vm'
gcc -O3 -I../vm -D__linux__ -c alloc.c
gcc -O3 -I../vm -D__linux__ -c builtins.c
gcc -O3 -I../vm -D__linux__ -c callback.c
gcc -O3 -I../vm -D__linux__ -c context.c
gcc -O3 -I../vm -D__linux__ -c interp.c
gcc -O3 -I../vm -D__linux__ -c load.c
gcc -O3 -I../vm -D__linux__ -c objtable.c
gcc -O3 -I../vm -D__linux__ -c others.c
gcc -shared -lm -ldl -lgc -o ../bin/libneko.so alloc.o builtins.o
callback.o context.o interp.o load.o objtable.o others.o
make[1]: Leaving directory `/.devel/local.src/neko-1.0/vm'
cd vm; make -f ../Makefile bin/nekovm
make[1]: Entering directory `/.devel/local.src/neko-1.0/vm'
gcc -O3 -I../vm -D__linux__ -c main.c
gcc -Wl,-Bsymbolic -L../bin -lneko -o ../bin/nekovm main.o
make[1]: Leaving directory `/.devel/local.src/neko-1.0/vm'
cd neko; make -f ../Makefile neko
make[1]: Entering directory `/.devel/local.src/neko-1.0/neko'
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib ast.ml
ocamllex lexer.mll
58 states, 2020 transitions, table size 8428 bytes
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib lexer.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib parser.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib printer.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib bytecode.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib compile.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib plugin.ml
ocamlopt -pp camlp4o -c -I ../extlib-dev -I +extLib main.ml
ocamlopt -o ../bin/neko -I ../extlib-dev -I +extLib extLib.cmxa ast.cmx
lexer.cmx parser.cmx printer.cmx bytecode.cmx compile.cmx plugin.cmx
main.cmx
rm lexer.ml
make[1]: Leaving directory `/.devel/local.src/neko-1.0/neko'
cd libs; make -f ../Makefile libs.n
make[1]: Entering directory `/.devel/local.src/neko-1.0/libs'
../bin/neko test.neko
make[1]: Leaving directory `/.devel/local.src/neko-1.0/libs'
cd libs; make -f ../Makefile libs.ndll
make[1]: Entering directory `/.devel/local.src/neko-1.0/libs'
gcc -O3 -I../vm -D__linux__ -Wl,-Bsymbolic -L../bin -lneko -shared -o
../bin/std.ndll std/*.c
gcc -O3 -I../vm -D__linux__ -Wl,-Bsymbolic -L../bin -lneko -shared -I
/usr/include/apache -o ../bin/mod_neko.ndll -I mod_neko mod_neko/*.c
mod_neko/cgi.c: In function `get_cookies':
mod_neko/cgi.c:115: warning: initialization makes pointer from integer
without a cast
mod_neko/cgi.c: In function `redirect':
mod_neko/cgi.c:190: error: `REDIRECT' undeclared (first use in this
function)
mod_neko/cgi.c:190: error: (Each undeclared identifier is reported only once
mod_neko/cgi.c:190: error: for each function it appears in.)
mod_neko/cgi.c: In function `get_client_header':
mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes
pointer from integer without a cast
mod_neko/cgi.c: In function `get_params':
mod_neko/cgi.c:332: warning: initialization makes pointer from integer
without a cast
mod_neko/mod_neko.c: In function `cache_find':
mod_neko/mod_neko.c:56: error: structure has no member named `st_mtime'
mod_neko/mod_neko.c: In function `cache_module':
mod_neko/mod_neko.c:77: error: structure has no member named `st_mtime'
mod_neko/mod_neko.c:85: error: structure has no member named `st_mtime'
mod_neko/mod_neko.c: At top level:
mod_neko/mod_neko.c:156: error: parse error before "pool"
mod_neko/mod_neko.c:161: error: parse error before "neko_handlers"
mod_neko/mod_neko.c:162: warning: braces around scalar initializer
mod_neko/mod_neko.c:162: warning: (near initialization for
`neko_handlers[0]')
mod_neko/mod_neko.c:162: warning: initialization makes integer from
pointer without a cast
mod_neko/mod_neko.c:162: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:162: warning: (near initialization for
`neko_handlers[0]')
mod_neko/mod_neko.c:163: warning: braces around scalar initializer
mod_neko/mod_neko.c:163: warning: (near initialization for
`neko_handlers[1]')
mod_neko/mod_neko.c:163: warning: initialization makes integer from
pointer without a cast
mod_neko/mod_neko.c:164: warning: data definition has no type or storage
class
mod_neko/mod_neko.c:166: error: parse error before "neko_module"
mod_neko/mod_neko.c:167: error:
`this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a
function)
mod_neko/mod_neko.c:167: error: initializer element is not constant
mod_neko/mod_neko.c:167: error: (near initialization for `neko_module')
mod_neko/mod_neko.c:168: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:168: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:169: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:169: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:170: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:170: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:171: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:171: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:172: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:172: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:173: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:173: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:174: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:174: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:175: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:175: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:176: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:176: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:177: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:177: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:178: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:178: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:179: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:179: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:180: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:180: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:181: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:181: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:182: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:182: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:183: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:183: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:184: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:184: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:186: warning: excess elements in scalar initializer
mod_neko/mod_neko.c:186: warning: (near initialization for `neko_module')
mod_neko/mod_neko.c:186: warning: data definition has no type or storage
class
make[1]: *** [mod_neko.ndll] Error 1
make[1]: Leaving directory `/.devel/local.src/neko-1.0/libs'
make: *** [libs] Error 2
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 15:41 ` Build errors (was Re: [Caml-list] Neko 1.0) Matt Gushee
@ 2005-08-18 18:22 ` skaller
2005-08-18 18:26 ` skaller
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: skaller @ 2005-08-18 18:22 UTC (permalink / raw)
To: Matt Gushee; +Cc: caml-list
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
On Thu, 2005-08-18 at 09:41 -0600, Matt Gushee wrote:
> mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes
> pointer from integer without a cast
BTW1: best not to do this, not even with a cast ..
AMD64/gcc has 32 bit int and 64 bit pointer.
BTW2: the Boehm collector for Ubuntu is called libgc1,
the headers are libgc-dev, I guess Debian is the same.
BTW3: Is there any chance of making the header files
for the VM BSD rather than GPL? (So generated wrappers
aren't contaminated)
--
John Skaller <skaller at users dot sourceforge dot net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 18:22 ` skaller
@ 2005-08-18 18:26 ` skaller
2005-08-18 18:43 ` Nicolas Cannasse
2005-08-18 18:41 ` Nicolas Cannasse
2005-08-18 20:39 ` Sven Luther
2 siblings, 1 reply; 10+ messages in thread
From: skaller @ 2005-08-18 18:26 UTC (permalink / raw)
To: Matt Gushee; +Cc: caml-list
[-- Attachment #1: Type: text/plain, Size: 17361 bytes --]
On Fri, 2005-08-19 at 04:22 +1000, skaller wrote:
> On Thu, 2005-08-18 at 09:41 -0600, Matt Gushee wrote:
>
> > mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes
> > pointer from integer without a cast
>
> BTW1: best not to do this, not even with a cast ..
> AMD64/gcc has 32 bit int and 64 bit pointer.
.. in particular I get hundreds of errors:
gcc -O3 -I../vm -D__linux__ -c alloc.c
alloc.c: In function ‘alloc_module_function’:
alloc.c:147: warning: cast to pointer from integer of different size
alloc.c: In function ‘neko_alloc_object’:
alloc.c:156: warning: cast from pointer to integer of different size
alloc.c: In function ‘neko_val_gc’:
alloc.c:183: warning: cast from pointer to integer of different size
gcc -O3 -I../vm -D__linux__ -c builtins.c
builtins.c: In function ‘builtin_print’:
builtins.c:38: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_new’:
builtins.c:50: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_amake’:
builtins.c:66: warning: cast from pointer to integer of different size
builtins.c:67: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_acopy’:
builtins.c:77: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_asize’:
builtins.c:85: warning: cast from pointer to integer of different size
builtins.c:86: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_asub’:
builtins.c:93: warning: cast from pointer to integer of different size
builtins.c:94: warning: cast from pointer to integer of different size
builtins.c:95: warning: cast from pointer to integer of different size
builtins.c:96: warning: cast from pointer to integer of different size
builtins.c:97: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_ablit’:
builtins.c:108: warning: cast from pointer to integer of different size
builtins.c:109: warning: cast from pointer to integer of different size
builtins.c:110: warning: cast from pointer to integer of different size
builtins.c:111: warning: cast from pointer to integer of different size
builtins.c:112: warning: cast from pointer to integer of different size
builtins.c:113: warning: cast from pointer to integer of different size
builtins.c:114: warning: cast from pointer to integer of different size
builtins.c:115: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_smake’:
builtins.c:123: warning: cast from pointer to integer of different size
builtins.c:124: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_ssize’:
builtins.c:128: warning: cast from pointer to integer of different size
builtins.c:129: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_scopy’:
builtins.c:133: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_ssub’:
builtins.c:139: warning: cast from pointer to integer of different size
builtins.c:140: warning: cast from pointer to integer of different size
builtins.c:141: warning: cast from pointer to integer of different size
builtins.c:142: warning: cast from pointer to integer of different size
builtins.c:143: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_sget’:
builtins.c:151: warning: cast from pointer to integer of different size
builtins.c:152: warning: cast from pointer to integer of different size
builtins.c:153: warning: cast from pointer to integer of different size
builtins.c:156: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_sset’:
builtins.c:162: warning: cast from pointer to integer of different size
builtins.c:163: warning: cast from pointer to integer of different size
builtins.c:164: warning: cast from pointer to integer of different size
builtins.c:165: warning: cast from pointer to integer of different size
builtins.c:168: warning: cast from pointer to integer of different size
builtins.c:170: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_sblit’:
builtins.c:175: warning: cast from pointer to integer of different size
builtins.c:176: warning: cast from pointer to integer of different size
builtins.c:177: warning: cast from pointer to integer of different size
builtins.c:178: warning: cast from pointer to integer of different size
builtins.c:179: warning: cast from pointer to integer of different size
builtins.c:180: warning: cast from pointer to integer of different size
builtins.c:181: warning: cast from pointer to integer of different size
builtins.c:182: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_nargs’:
builtins.c:195: warning: cast from pointer to integer of different size
builtins.c:197: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_call’:
builtins.c:204: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_iadd’:
builtins.c:214: warning: cast from pointer to integer of different size
builtins.c:214: warning: cast from pointer to integer of different size
builtins.c:214: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_isub’:
builtins.c:218: warning: cast from pointer to integer of different size
builtins.c:218: warning: cast from pointer to integer of different size
builtins.c:218: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_imult’:
builtins.c:222: warning: cast from pointer to integer of different size
builtins.c:222: warning: cast from pointer to integer of different size
builtins.c:222: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_idiv’:
builtins.c:228: warning: cast from pointer to integer of different size
builtins.c:228: warning: cast from pointer to integer of different size
builtins.c:228: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_isnan’:
builtins.c:242: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_isinfinite’:
builtins.c:255: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_objget’:
builtins.c:270: warning: cast from pointer to integer of different size
builtins.c:272: warning: cast from pointer to integer of different size
builtins.c:273: warning: cast from pointer to integer of different size
builtins.c:273: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objset’:
builtins.c:277: warning: cast from pointer to integer of different size
builtins.c:279: warning: cast from pointer to integer of different size
builtins.c:280: warning: cast from pointer to integer of different size
builtins.c:280: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objcall’:
builtins.c:285: warning: cast from pointer to integer of different size
builtins.c:287: warning: cast from pointer to integer of different size
builtins.c:288: warning: cast from pointer to integer of different size
builtins.c:289: warning: cast from pointer to integer of different size
builtins.c:289: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objfield’:
builtins.c:293: warning: cast from pointer to integer of different size
builtins.c:293: warning: cast from pointer to integer of different size
builtins.c:293: warning: cast from pointer to integer of different size
builtins.c:293: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objremove’:
builtins.c:297: warning: cast from pointer to integer of different size
builtins.c:298: warning: cast from pointer to integer of different size
builtins.c:299: warning: cast from pointer to integer of different size
builtins.c:299: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objfields_rec’:
builtins.c:303: warning: cast from pointer to integer of different size
builtins.c:303: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_objfields’:
builtins.c:310: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_hash’:
builtins.c:319: warning: cast from pointer to integer of different size
builtins.c:320: warning: cast from pointer to integer of different size
builtins.c:320: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_field’:
builtins.c:324: warning: cast from pointer to integer of different size
builtins.c:325: warning: cast from pointer to integer of different size
builtins.c:325: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_int’:
builtins.c:329: warning: cast from pointer to integer of different size
builtins.c:330: warning: cast to pointer from integer of different size
builtins.c:331: warning: cast from pointer to integer of different size
builtins.c:332: warning: cast from pointer to integer of different size
builtins.c:332: warning: cast from pointer to integer of different size
builtins.c:332: warning: cast to pointer from integer of different size
builtins.c: In function ‘builtin_float’:
builtins.c:337: warning: cast from pointer to integer of different size
builtins.c:339: warning: cast from pointer to integer of different size
builtins.c:340: warning: cast from pointer to integer of different size
builtins.c:340: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_typeof’:
builtins.c:345: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_closure’:
builtins.c:400: warning: cast from pointer to integer of different size
builtins.c: In function ‘builtin_compare’:
builtins.c:414: warning: cast to pointer from integer of different size
builtins.c: In function ‘neko_init_builtins’:
builtins.c:435: warning: cast to pointer from integer of different size
builtins.c:437: warning: cast to pointer from integer of different size
builtins.c:438: warning: cast to pointer from integer of different size
builtins.c:439: warning: cast to pointer from integer of different size
builtins.c:440: warning: cast to pointer from integer of different size
builtins.c:441: warning: cast to pointer from integer of different size
builtins.c:442: warning: cast to pointer from integer of different size
builtins.c:444: warning: cast to pointer from integer of different size
builtins.c:445: warning: cast to pointer from integer of different size
builtins.c:446: warning: cast to pointer from integer of different size
builtins.c:447: warning: cast to pointer from integer of different size
builtins.c:448: warning: cast to pointer from integer of different size
builtins.c:449: warning: cast to pointer from integer of different size
builtins.c:450: warning: cast to pointer from integer of different size
builtins.c:452: warning: cast to pointer from integer of different size
builtins.c:453: warning: cast to pointer from integer of different size
builtins.c:454: warning: cast to pointer from integer of different size
builtins.c:455: warning: cast to pointer from integer of different size
builtins.c:456: warning: cast to pointer from integer of different size
builtins.c:457: warning: cast to pointer from integer of different size
builtins.c:458: warning: cast to pointer from integer of different size
builtins.c:459: warning: cast to pointer from integer of different size
builtins.c:460: warning: cast to pointer from integer of different size
builtins.c:462: warning: cast to pointer from integer of different size
builtins.c:463: warning: cast to pointer from integer of different size
builtins.c:464: warning: cast to pointer from integer of different size
builtins.c:465: warning: cast to pointer from integer of different size
builtins.c:466: warning: cast to pointer from integer of different size
builtins.c:467: warning: cast to pointer from integer of different size
builtins.c:468: warning: cast to pointer from integer of different size
builtins.c:469: warning: cast to pointer from integer of different size
builtins.c:470: warning: cast to pointer from integer of different size
builtins.c:471: warning: cast to pointer from integer of different size
builtins.c:472: warning: cast to pointer from integer of different size
builtins.c:473: warning: cast to pointer from integer of different size
builtins.c:474: warning: cast to pointer from integer of different size
builtins.c:476: warning: cast to pointer from integer of different size
builtins.c:477: warning: cast to pointer from integer of different size
builtins.c:478: warning: cast to pointer from integer of different size
builtins.c:479: warning: cast to pointer from integer of different size
gcc -O3 -I../vm -D__linux__ -c callback.c
callback.c: In function ‘neko_val_callEx’:
callback.c:100: warning: cast from pointer to integer of different size
callback.c:101: warning: cast from pointer to integer of different size
callback.c:103: warning: cast from pointer to integer of different size
callback.c:104: warning: cast from pointer to integer of different size
gcc -O3 -I../vm -D__linux__ -c context.c
gcc -O3 -I../vm -D__linux__ -c interp.c
interp.c: In function ‘neko_vm_alloc’:
interp.c:87: warning: cast from pointer to integer of different size
interp.c: In function ‘neko_vm_execute’:
interp.c:111: warning: cast from pointer to integer of different size
interp.c: In function ‘neko_setup_trap’:
interp.c:299: warning: cast to pointer from integer of different size
interp.c:299: warning: cast from pointer to integer of different size
interp.c:300: warning: cast from pointer to integer of different size
interp.c:301: warning: cast from pointer to integer of different size
interp.c:303: warning: cast from pointer to integer of different size
interp.c:303: warning: cast to pointer from integer of different size
interp.c:303: warning: cast from pointer to integer of different size
interp.c: In function ‘neko_process_trap’:
interp.c:313: warning: cast from pointer to integer of different size
interp.c:319: warning: cast to pointer from integer of different size
interp.c:320: warning: cast to pointer from integer of different size
interp.c:324: warning: cast to pointer from integer of different size
interp.c: In function ‘interp_loop’:
interp.c:337: warning: cast from pointer to integer of different size
interp.c:340: warning: cast from pointer to integer of different size
interp.c:343: warning: cast from pointer to integer of different size
interp.c:346: warning: cast from pointer to integer of different size
interp.c:359: warning: cast to pointer from integer of different size
interp.c:363: warning: cast from pointer to integer of different size
interp.c:366: warning: cast to pointer from integer of different size
interp.c:367: warning: cast to pointer from integer of different size
interp.c:367: warning: cast to pointer from integer of different size
interp.c:368: warning: cast from pointer to integer of different size
interp.c:370: warning: cast from pointer to integer of different size
interp.c:375: warning: cast to pointer from integer of different size
interp.c:377: warning: cast to pointer from integer of different size
interp.c:378: warning: cast from pointer to integer of different size
interp.c:380: warning: cast to pointer from integer of different size
interp.c:380: warning: cast from pointer to integer of different size
interp.c:381: warning: cast to pointer from integer of different size
interp.c:382: warning: cast to pointer from integer of different size
interp.c:382: warning: cast to pointer from integer of different size
interp.c:382: warning: cast from pointer to integer of different size
interp.c:384: warning: cast from pointer to integer of different size
interp.c:388: warning: cast to pointer from integer of different size
interp.c:389: warning: cast to pointer from integer of different size
interp.c:390: warning: cast from pointer to integer of different size
interp.c:392: warning: cast to pointer from integer of different size
interp.c:392: warning: cast from pointer to integer of different size
interp.c:393: warning: cast to pointer from integer of different size
interp.c:394: warning: cast to pointer from integer of different size
interp.c:394: warning: cast to pointer from integer of different size
interp.c:394: warning: cast from pointer to integer of different size
interp.c:396: warning: cast from pointer to integer of different size
interp.c:410: warning: cast to pointer from integer of different size
interp.c:414: warning: cast to pointer from integer of different size
--
John Skaller <skaller at users dot sourceforge dot net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 18:22 ` skaller
2005-08-18 18:26 ` skaller
@ 2005-08-18 18:41 ` Nicolas Cannasse
2005-08-18 20:39 ` Sven Luther
2 siblings, 0 replies; 10+ messages in thread
From: Nicolas Cannasse @ 2005-08-18 18:41 UTC (permalink / raw)
To: skaller, Matt Gushee; +Cc: caml-list
> > mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes
> > pointer from integer without a cast
>
> BTW1: best not to do this, not even with a cast ..
> AMD64/gcc has 32 bit int and 64 bit pointer.
There is 64bit support right now. Expect crashes if you try to run Neko
after compiling in 64-bit mode.
> BTW2: the Boehm collector for Ubuntu is called libgc1,
> the headers are libgc-dev, I guess Debian is the same.
Thanks I'll fix the guide.
> BTW3: Is there any chance of making the header files
> for the VM BSD rather than GPL? (So generated wrappers
> aren't contaminated)
That seems pretty reasonable and a good idea.
Nicolas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 18:26 ` skaller
@ 2005-08-18 18:43 ` Nicolas Cannasse
0 siblings, 0 replies; 10+ messages in thread
From: Nicolas Cannasse @ 2005-08-18 18:43 UTC (permalink / raw)
To: skaller, Matt Gushee; +Cc: caml-list
Please report theses through the Neko mailling list.
Although I wish they were, I'm not sure the whole CamlList people are
interested in Neko build errors on 64-bit platforms ;)
Nicolas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Build errors (was Re: [Caml-list] Neko 1.0)
2005-08-18 18:22 ` skaller
2005-08-18 18:26 ` skaller
2005-08-18 18:41 ` Nicolas Cannasse
@ 2005-08-18 20:39 ` Sven Luther
2 siblings, 0 replies; 10+ messages in thread
From: Sven Luther @ 2005-08-18 20:39 UTC (permalink / raw)
To: skaller; +Cc: Matt Gushee, caml-list
On Fri, Aug 19, 2005 at 04:22:55AM +1000, skaller wrote:
> On Thu, 2005-08-18 at 09:41 -0600, Matt Gushee wrote:
>
> > mod_neko/cgi.c:206: warning: passing arg 1 of `neko_alloc_string' makes
> > pointer from integer without a cast
>
> BTW1: best not to do this, not even with a cast ..
> AMD64/gcc has 32 bit int and 64 bit pointer.
>
> BTW2: the Boehm collector for Ubuntu is called libgc1,
> the headers are libgc-dev, I guess Debian is the same.
>
> BTW3: Is there any chance of making the header files
> for the VM BSD rather than GPL? (So generated wrappers
> aren't contaminated)
Notice that header files, provided they don't contain comments, don't
contaminate other works. At least that is what some FSF guy told me about code
i contributed to parted, which is a GNU project.
Friendly,
Sven Luther
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-08-18 20:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-18 9:06 Neko 1.0 Nicolas Cannasse
2005-08-18 14:33 ` [Caml-list] " Matt Gushee
2005-08-18 14:51 ` Matt Gushee
[not found] ` <014e01c5a406$45a30dc0$ef01a8c0@warp>
2005-08-18 15:12 ` Matt Gushee
2005-08-18 15:41 ` Build errors (was Re: [Caml-list] Neko 1.0) Matt Gushee
2005-08-18 18:22 ` skaller
2005-08-18 18:26 ` skaller
2005-08-18 18:43 ` Nicolas Cannasse
2005-08-18 18:41 ` Nicolas Cannasse
2005-08-18 20:39 ` Sven Luther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox