Discussion:
Could I write a library with ONBC?
(too old to reply)
Hưng Gia
2020-03-06 07:56:13 UTC
Permalink
So far I didn't see any Oberon compiler out there allow me to write a library. Could you extend ONBC to allow us to write library in Oberon?

GNU Modula-2 allows me to write a shared library:

https://www.nongnu.org/gm2/building_a_shared_library.html
miasap
2020-03-07 19:14:35 UTC
Permalink
Post by HÆ°ng Gia
So far I didn't see any Oberon compiler out there allow me to write a
library. Could you extend ONBC to allow us to write library in
Oberon?
You can create a library (shared or static) by using your C compiler
with the module object files as input. See for instance

https://renenyffenegger.ch/notes/development/languages/C-C-plus-plus/GCC/create-libraries/index


-- Karl

Loading...