8dc662efe9e0c820eb001d66315bc32b2358fc57 |
|
10-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Make otcc code work in x64 based system with 32-bit chroot. Set execute permission on code before running it. Handle negative relative offsets for global variables. Add printfs to report the progress of nested compiles. Change way we detect whether we can run the host compiler or not. We used to check if we were running on a 32-bit Linux. Now we check if the executable is a 32-bit Linux executable.
/system/core/libacc/tests/data/returnval-ansi.c
|
36d9414f72b629dacc2c972e93d16cec08ef44b6 |
|
09-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Make a host version of acc for testing. Don't run the code we've compiled unless the -R option is present.
/system/core/libacc/tests/data/returnval-ansi.c
|
b7c81e99522fbc5256f20e826eae18f2a33ea76a |
|
05-Jun-2009 |
Jack Palevich <jackpal@google.com> |
Switch to ANSI C style C function declarations. main(argc, argv) --> int main(int argc, char** argv) Although we accept int, void, and char types, and pointers to same, we actually still treat everything as an int.
/system/core/libacc/tests/data/returnval-ansi.c
|