Hello Pirmin,

On 2/7/23 15:14, Duss Pirmin wrote:
Hello Sebastian and all

After a lot of trail and error, I'm finally able to build shared libraries for the arm_v8a platform. My test component (wasmedge) runs successful on my iMX8 device :-).

It turns out, that when using gcc to link libraries the argument `-shared` passed by cmake seems to behave differently between x86_64 and arm_v8a.

In the arm_v8a case this needs to be prefixed with `-Wl,`.

Awesome! It's sometimes these small details that make the difference and that can be hard to find.

Congrats,

Sebastian

--
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth





_______________________________________________
Genode users mailing list
[email protected]
https://lists.genode.org/listinfo/users

Reply via email to