jserv / amacc

Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Other
1.01k stars 159 forks source link

[ELF32]: amacc could not open ELF32 format #16

Closed gapry closed 8 years ago

gapry commented 8 years ago

Although it can compile, it can not do the self-hosting via ELF32 format.

For now, it is the error message

[gapry@E130 amacc]$ make check
[ JIT      ]
hello, world
[ compiled ]
could not open(elf/hello)
Makefile:20: recipe for target 'check' failed
make: *** [check] Error 255

Is it possible to create a new branch to develop the ELF32 Loader ?

jserv commented 8 years ago

It is a known issue reported by @lecopzer .

lecopzer commented 8 years ago

Do you mean you can't use elf/amacc which creates by amacc -o elf/amacc amacc.c to generate another object file? Or you only can't do make check? It's a little different from the issue I faced with.

gapry commented 8 years ago

For now, I can do make check . ELF and ELF-self can pass the currents test-case.

So, can you tell me more detail about the isssue which you faced with ?

gapry commented 8 years ago

fixed via #17