• Could I write a library with ONBC?

    From =?UTF-8?B?SMawbmcgR2lh?=@21:1/5 to All on Thu Mar 5 23:56:13 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From miasap@21:1/5 to All on Sat Mar 7 20:14:35 2020
    On 2020-03-06 08:56, Hưng Gia wrote:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)