Hi,

thanks for the feedback. You are right about the error... However, at the
moment, I don't have callback support on Plan9, so this is an ugly detail
that I try to build it unsuccessfully, but it doesn't block you from using
dyncall which seems to build fine on your machine.

I'm sorry for this inconvenience, please change a line in dyncall/mkfile
from:

DIRS  = dyncall dyncallback dynload

to:

DIRS  = dyncall

to get rid of this error (and yes, there is no dynload support, either, at
the time of writing). I hope to get dyncallback support in for 0.7...
well, I shouldn't have forgotten to change the line mentioned above... oh
well ;)

You can svn checkout the latest version, which includes the fix.

Thanks,
Tassilo



> Hello Tassilo,
>
> I tried to compile your dyncall (latest version) for plan9.
> The result ended with error. Probably you miss mkfile in dyncallback.
>
> Thanks in advance.
>
> Kenji Arisawa
>
> io% mk
> Handling sub-directory dyncall...
> libdyncall_s.a8 doesn't exist: assuming it will be an archive
> pcc -D__Plan9__ -D__386__ -I../dyncall -I../dyncallback -c
> dyncall_vector.c
> pcc -D__Plan9__ -D__386__ -I../dyncall -I../dyncallback -c dyncall_api.c
> pcc -D__Plan9__ -D__386__ -I../dyncall -I../dyncallback -c dyncall_callf.c
> cp dyncall_call.S dyncall_call.S.c
> pcc -E -D__Plan9__ -D__386__ dyncall_call.S.c > dyncall_call.s # replace
> with cpp? pcc requires .c suffix
> rm dyncall_call.S.c
> 8a  dyncall_call.s
> rm dyncall_call.s
> pcc -D__Plan9__ -D__386__ -I../dyncall -I../dyncallback -c
> dyncall_callvm.c
> /usr/arisawa/src/dyncall-0.6/dyncall/./dyncall_callvm_x86.c:152[stdin:1051]
> function args not checked: dcCall_x86_plan9_ll
> pcc -D__Plan9__ -D__386__ -I../dyncall -I../dyncallback -c
> dyncall_callvm_base.c
> ar vu libdyncall_s.a8 dyncall_vector.8 dyncall_api.8 dyncall_callf.8
> dyncall_call.8 dyncall_callvm.8 dyncall_callvm_base.8
> ar: creating libdyncall_s.a8
> a - dyncall_vector.8
> a - dyncall_api.8
> a - dyncall_callf.8
> a - dyncall_call.8
> a - dyncall_callvm.8
> a - dyncall_callvm_base.8
> Handling sub-directory dyncallback...
> mkfile: 'mkfile' file does not exist
> mk: for (i in ...  : exit status=rc 280: rc 333: mk 336: error
> io%
>
> On 2010/09/26, at 6:04, Tassilo Philipp wrote:
>
>> Hi,
>>
>> I finished my dyncall/Plan9/x86 port - thanks again Cinap and Steve for
>> pointing me into the right directions about the Plan9 calling
>> convention,
>> a few weeks ago.
>>
>> Anyways, dyncall has Plan9 support for x86, starting with Version 0.6,
>> maybe someone likes it or finds it useful (www.dyncall.org).
>>
>> Cheers,
>> Tassilo
>>
>>
>
>
>


Reply via email to