ACCGEN for ArchC 2.4

58 views
Skip to first unread message

Marwen

unread,
Jan 28, 2016, 5:18:22 AM1/28/16
to archc
hi,
is there a manual about how to build accgen with archc 2.4?!
thanks

Rebeca Vasconcelos de Sa Alencar

unread,
Aug 13, 2016, 10:21:43 PM8/13/16
to archc
Hi, I want too!
I didn't find nothing about it, I tried to compile the accgen-r1 but there is a lot of errors.
First there is this error above:

acllvm.tab.c:2515:24: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         yyerror (yymsgp);


So, i comment this line and tried compile again and another error
happened
error: ‘__malloc_hook’ is deprecated [-Werror=deprecated-declarations]


Thanks

Rafael Auler

unread,
Aug 15, 2016, 10:33:42 AM8/15/16
to ar...@googlegroups.com
Hi Rebeca,

Accgen currently is somewhat bitrotten due to lack of contributors. If
you are interested in contributing, you're welcome to send pull
requests to https://github.com/rafaelauler/accgen

We hoped that in GSoC we could find someone to restore it, but our
current students are working on something else. Anyway, if the project
is running well with recent tools, then we can put the repository into
the official ArchC github.

This error specifically is because you are compiling using a modern
C++ compiler. Previous compilers, at the time the project was written,
didn't fail at "invalid conversion from cont char* to char*". However,
this line of code at acllvm.tab.c isn't even written by ourselves, but
it is generated by bison/flex. Perhaps if you update these tools, they
will generate more modern code that will pass in recent compilers.

Best regards,
Rafael
> --
> You received this message because you are subscribed to the Google Groups
> "archc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archc+un...@googlegroups.com.
> To post to this group, send email to ar...@googlegroups.com.
> Visit this group at https://groups.google.com/group/archc.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages