c - xorg input driver -
I need to write a xinput driver for a virtual device, e.g. . The device is connected to a LAN. The customer has been written in C ++ for this device. Is it possible to use C ++ code in this driver or should the whole project be only C?
A I think it might be unsafe. Perhaps C ++ ABI needs to perform certain specific things. So you can try, but I would not be surprised if you want to do some work (eg exception management). It may depend on the version of the C ++ library and version of the C library and the version of the compiler .... I think it can work better with recent read make your driver free software , And publish its source code very quickly so that you can get some help from the Xorg community (even if your driver is incomplete) In Bengal the use of a Xorg driver is just a shared object plugin after some document conference . In principle, how do you achieve that
.so is your own business (if you have been for centuries to lose from your centuries, then in principle you can write it a little bit) In theory, you can link
libstdc ++. Therefore in your shared object (since someone else can link to shared objects). I think you will compile and link your plugin with
g ++ and possibly link to
-lstdc ++
g ++ Recently,
libc ,
libstdc ++ ....
Xorg .... In
Comments
Post a Comment