I initially simply set GCC_VERSION=11 in my Makefile but that was not sufficient.
I had to comment out the GCC_VERSION in the shared-macros.mk because GCC_VERSION was reset to 7. Maybe the include order was wrong, I'll try again. In any case, my Makefile for this component seems to work with gcc-11. It also includes a command line tool tg_cli to connect to telegram (test client). Regards, David Stes ----- Op 22 mar 2022 om 20:21 schreef Andreas Wacknitz a.wackn...@gmx.de: > Am 22.03.22 um 20:17 schrieb s...@pandora.be: >> I tested a build of Telegram (the messaging and chat software) and tdlib >> seems >> to build using gcc-11 on the latest OI/Hipster. >> >> I'm not sure what a good name for this package or component could be, but >> 'library/libtdjson' is perhaps a good name; >> >> I am not related or affiliated to Telegram in any way, I only built the >> open-source library. >> >> for a Smalltalk Squeak project I tested , this requires an external library >> called tdlib to access the Telegram API, >> and it seems to work. The squeak project also uses a Smalltalk >> implementation >> of JSON (javascript object notation), >> supporting JSON in Smalltalk-80. >> >> This is just the library for the API, not the Telegram-desktop (the GUI). >> >> The build that works for me is for version 1.8.0 (latest version) >> libtdjson.so.1.8.0 >> >> In fact the Smalltalk Squeak project is using the API to provide a GUI >> (graphical userinterface) in Squeak for Telegram messages, so it is a >> Smalltalk-80 graphical user interface for Telegram that uses this library. >> >> Note that the files are big and the build runs out of memory for me using >> gcc-7. >> Using gcc-11 (64bit?) the build completes. >> >> This requires commenting out the GCC_VERSION=7 in the >> make-rules/shared-macros.mk and setting > Don't change make-rules/shared-macros.mk arbitrarily. For single > packages you can simply use > GCC_VERSION=11 > in the package's Makefile overriding the default. > > >> >> GCC_VERSION=11 >> >> in the Makefile. I'm not sure whether any packages are accepted that are >> built >> with gcc-11 right now. >> >> Regards, >> David Stes >> >> _______________________________________________ >> oi-dev mailing list >> oi-dev@openindiana.org >> https://openindiana.org/mailman/listinfo/oi-dev > > > _______________________________________________ > oi-dev mailing list > oi-dev@openindiana.org > https://openindiana.org/mailman/listinfo/oi-dev _______________________________________________ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev