9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tassilo Philipp" <tphilipp@potion-studios.com>
To: 9fans@9fans.net, "Kenji Arisawa" <arisawa@ar.aichi-u.ac.jp>
Subject: Re: [9fans] dyncall on Plan9
Date: Mon, 27 Sep 2010 18:02:29 +0200	[thread overview]
Message-ID: <f4b024c41b81de1f853c1b5668ae68c5-EhVcXl1ERwBcRx0AAAwEUR8fGQlVS19cWF9EAV1EWEZaOlEPQVhxH1RdXUFdQ0ZtXlhRRV5VWwtbVg==-webmailer1@server02.webmailer.hosteurope.de> (raw)
In-Reply-To: <2B81AE33-6D6D-4B38-8B4B-F34B6ED4D6A4@ar.aichi-u.ac.jp>

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
>>
>>
>
>
>




  parent reply	other threads:[~2010-09-27 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 21:04 Tassilo Philipp
     [not found] ` <2B81AE33-6D6D-4B38-8B4B-F34B6ED4D6A4@ar.aichi-u.ac.jp>
2010-09-27 16:02   ` Tassilo Philipp [this message]
2010-09-28  6:29 ` Sergey Zhilkin
2010-09-28 13:54   ` Tassilo Philipp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f4b024c41b81de1f853c1b5668ae68c5-EhVcXl1ERwBcRx0AAAwEUR8fGQlVS19cWF9EAV1EWEZaOlEPQVhxH1RdXUFdQ0ZtXlhRRV5VWwtbVg==-webmailer1@server02.webmailer.hosteurope.de' \
    --to=tphilipp@potion-studios.com \
    --cc=9fans@9fans.net \
    --cc=arisawa@ar.aichi-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).