Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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.


Comment on Re: Re: Problems compiling Parrot
Select or Download Code
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
      /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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://245849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-07-10 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (206 votes), past polls