You probably don't want to use ld as your linker. You should try cc
instead.
-----Original Message-----
From: Simon Cozens
To: [EMAIL PROTECTED]
Sent: 9/18/2001 9:46 AM
Subject: Re: bytecode and sizeof(IV)
On Tue, Sep 18, 2001 at 05:52:24PM +0300, Jarkko Hietaniemi wrote:
> Segfault in alpha even when IVs and pointers are both 8 bytes since
> the code tries to dereference the pointers (to read IVs) at four byte
> offsets.
Yep, and the latest "pedantic" patch doesn't help. Also, I'm seeing
this, which is weird:
ld -ldbm -ldb -lm -liconv -o test_prog global_setup.o interpreter.o
parrot.o register.o basic_opcodes.o memory.o bytecode.o string.o
strnative.o test_main.o
ld:
Error: Undefined:
exit
_iob
fprintf
fputs
strncmp
_OtsDivide64
printf
time
acos
asin
atan
atan2
cosh
exp
log
log10
pow
sinh
tan
tanh
cos
sin
_OtsRemainder64
malloc
__CFE_print_puts
free
realloc
_OtsMoveMinimum
_OtsZero
_OtsMove
mmap
stat
open
errno
strcmp
*** Exit 1
--
The UNIX system is harder to use than a toaster. -Kaare Christian