http://www.perlmonks.org?node_id=245850


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

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.

Replies are listed 'Best First'.
Re: Re: Re: Re: Problems compiling Parrot
by jens (Pilgrim) on Mar 26, 2003 at 03:46 UTC
    OK, so I'm in directory
    /usr/local/bin/parrot/parrot/languages/imcc
    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