You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to create an AOT compiled language with llvmlite and I'm trying to get an object file and then link it via gcc, but gcc gives me the following error when running gcc main_temp.o -o main:
main_temp.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
I have seen that a similar question has been asked here, but I tried the solutions given there and they didn't work.
I am not certain but the -msvc should cause LLVM to produce COFF but does gcc accept that? Is this the inverse problem that you need -elf for gcc to work?
Hi, I am trying to create an AOT compiled language with llvmlite and I'm trying to get an object file and then link it via gcc, but gcc gives me the following error when running
gcc main_temp.o -o main
:I have seen that a similar question has been asked here, but I tried the solutions given there and they didn't work.
My code looks like this:
objdump -a main_temp.o
also fails:objdump: main_temp.o: File format not recognized
Thanks in advance
The text was updated successfully, but these errors were encountered: