veecle / tricore-probe

Just like probe-run but targeting the Tricore-Architecture
Apache License 2.0
20 stars 5 forks source link

Automatically generate MCD bindings #9

Open therealfrauholle opened 7 months ago

therealfrauholle commented 7 months ago

Currently under linux we use a pregenerated version of the MCD bindings. Even though the MCD library can currently only be used under windows, this allows to develop the library under linux as well.

I quickly prototyped it, and in contrary to this setup (and what I initially believed) it should be possible to generate the bindings through a builds script even in linux, so we could get rid of the pregenerated version of the bindings.

We have to to investigate the compability overall, because in the end it must compile under windows and should compile in linux. E.g. I had some issues regarding the signedness of enum { ... }; definitions.