Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Re: Problems compiling Parrot

by jens (Pilgrim)
on Mar 26, 2003 at 03:09 UTC ( #245849=note: print w/replies, xml ) Need Help??

in reply to Re: Problems compiling Parrot
in thread Problems compiling Parrot

jryan -- when I do a
perl -MFindBin -le 'print $FindBin::Bin'
in the parrot directory gives me this output, which seems to me to be correct:
bash-2.05b$ perl -MFindBin -le 'print $FindBin::Bin' /usr/local/bin/parrot/parrot
I've made imcc without error. What is the relation
between imcc and the parrot interpreter?
Any more ideas on what may not be working correctly?

Microsoft delendum est.

Replies are listed 'Best First'.
Re: Re: Re: Problems compiling Parrot
by jryan (Vicar) on Mar 26, 2003 at 03:21 UTC

    Yep, FindBin doesn't seem to be the problem. Don't know what to say there. You can still use IMCC though.

    Neither the assembler nor IMCC have anything to do with the parrot interpretter (which is actually a virtual machine). However, both the assembler and IMCC have the ability to assemble parrot assembly into parrot bytecode. Traditionally, this has been the job of the assembler, but IMCC, the optimizer, has gotten advanced enough so that it can also assemble, and is actually better at it. Give it a try! It shouldn't break like the assembler did; it is written in pure C.

      OK, so I'm in directory
      and so is my source code time.pasm (updated with your newer syntax). So then:
      bash-2.05b$ imcc -a time.pasm bash: imcc: command not found
      Now I have successfully made imcc, so this is very confusing. ;)

      Microsoft delendum est.
        Well, I'm sure imcc isn't in your path like it is for me, so try: ./imcc -a time.pasm

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245849]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-04-27 00:06 GMT
Find Nodes?
    Voting Booth?