[perl #40379] [TODO] investigate use of tools/dev/as2c.pl
6 views
Skip to first unread message
Jerry Gay
unread,
Sep 20, 2006, 12:56:10 PM9/20/06
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bugs-bi...@rt.perl.org
# New Ticket Created by Jerry Gay # Please include the string: [perl #40379] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40379 >
i'm not sure tools/dev/as2c.pl is used, as the only makefile that calls it isn't generated (config/gen/cpu/i386/Makefile), it's not platform-independent, and the files it generates are committed to the repository. ~jerry
Leopold Toetsch via RT
unread,
Sep 20, 2006, 2:24:30 PM9/20/06
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perl6-i...@perl.org
The plan behind of as2c.pl is and was to create compiler independant machine code for an architecture. masm, gas, nasm, whatever syntax doesn't fit all compilers. Therefore as2c.pl translates gas syntax to a bytestring, which is then used as the asm code. as2c's usage is indeed scarce: when the code is generated once and checked in, there's usually no need to change it later.