Parrot won't build on cygwin

0 views
Skip to first unread message

Klaas-Jan Stol

unread,
Mar 4, 2007, 7:05:33 AM3/4/07
to Perl 6 Internals
hi,

I'm trying to compile parrot on cygwin, but it won't compile:

====
mpilers/imcc/parser_util.o compilers/imcc/pcc.o -lcrypt -lgmp -lreadline
compilers/imcc/main.c
/usr/bin/perl.exe tools/build/parrot_config_c.pl --mini > \
src/null_config.c
src/null_config.c
gcc -o miniparrot.exe compilers/imcc/main.o \
-L/home/KJS/parrot/blib/lib -lparrot -lcrypt -lgmp -lreadline -s
-L/usr/lo
cal/lib src/null_config.o
Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross
your fing
ers
./miniparrot.exe config_lib.pasm > runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 53
====

Trying again, gives:

====
$ make
Compiling with:
xx.c
gcc -I./include -pipe -I/usr/local/include -g -W -Wall
-Wstrict-prototypes -Wmis
sing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual
-Wwrite-strings -W
aggregate-return -Winline -Wno-unused -Wsign-compare
-falign-functions=16 -Wform
at-nonliteral -Wformat-security -Wpacked -Wdisabled-optimization
-Wno-shadow -DH
AS_JIT -DI386 -DHAVE_COMPUTED_GOTO -I. -o xx.o -c xx.c
/usr/bin/perl.exe tools/build/parrot_config_c.pl > \
src/parrot_config.c
'runtime/parrot/include/config.fpmc' is truncated. Remove it and rerun make
make: *** [src/parrot_config.c] Error 255
===

And indeed, if I check runtime/parrot/include/config.fpmc, it's empty.
The file src\parrot_config.c contains:

===
[...]
void
Parrot_set_config_hash_internal (const unsigned char* parrot_config,
unsigned int parrot_config_size);


static const unsigned char parrot_config[] = {
No mini!
====

But, there *is* a miniparrot.

regards,
kjs

Reply all
Reply to author
Forward
0 new messages