LangProc / langproc-2021-cw

5 stars 4 forks source link

Trying to link generated object #21

Closed Gandinator123 closed 2 years ago

Gandinator123 commented 2 years ago

Hi,

I am getting this error when trying to run the following command:

image

Is this because there is something wrong on our side or something wrong with the driver code?

Thanks!

Gandinator123 commented 2 years ago

I am trying to compile default/test_RETURN.c and we generate the following code:

image

ymherklotz commented 2 years ago

Hi, could you post the whole minimal working example as text, including the assembly you generate and all the commands you input so that it is easier to reproduce.

I'm guessing you are maybe missing a .globl f directive.

Gandinator123 commented 2 years ago

Hi, Yes. it was the .globl f that we missed in generating the function! Thanks.