Why does AmiCygnix use the library: aos4util_newlib? Are these just functions that are in addition to those provided by the newlib library for AOS4? Are the C-standard functions that are not yet implemented in the raw AOS4 newlib?
Edited by rjd324 on 2022/3/12 19:12:23 Reason: Make title more relevant to thread
This library contains functions not avaialble in newlib.library, but also replaces functions, that are not compatible enough to Unix. Additionally there are some dummy functions like fork() and some utility functions especially for AmiCygnix.
For example the opendir() function cannot open the root directory "/" but the aos4util_newlib version can.
Currently I've revised and bugfixed the library completely and will be part of the next update 1.7.
Edited by cygnusEd on 2022/3/11 22:52:36
X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450 Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
Thanks for your great work. I am in the process of porting something to AmiCygnix but there seems not be an implementation for setitimer/getitimer resulting in an undefined reference. Will I have to hack-workaround this?
Great to hear, that you're working on an AmiCygnix app . What's the name of it?
The setitimer () function is not included. It would be very tricky to implement. So you have to make a workaround.
I wish there would be a more up to date AmiCygnix SDK. Many things have changed since 1.0.
X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450 Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP
It's JASSPA MicroEmacs that stopped development in a about 2009. Uses X11.
I am so disappointed that a recent version of emacs has not been posted over to Amiga.
Stock Memacs is missing too many basic functions to make it usable.
I Emacs as my IDE every single day of my life at work. For me, it is a way of life and I need it if I am to do any serious contributions to Amiga. It's the first thing I need.
Emacs v19/20 on Aminet was ported for 68k and crashes on AOS4 with petunia. I think there is some specific code in there assuming we are using a classic amiga regarding memory.
Let me know if there is a good version of emacs/memacs. Regardless, porting this is a good first task for me.
I will never use the editor of the beast, Vi Vi Vi. And, despite the good work of recent editors for AOS4, emacs is a way of life for some.
@rjd324 I am interested to see how this will work, and thank you for working on that.
With AmigaOS 4 under utilities there is a version of MicroEmacs v2.1, but I do not use it a lot and I do not know if it has all the features you are looking for. I guess you already have seen it, right?
It's the version I use today and I am not sure it has been upgraded since AmigaOS2. It is missing too many features to be useful.
The first attempt is it get it working on AmiCygnix and then, perhaps, to consider hacking it to use intuition directly rather than going through AmiCygnix.
In a few week (i hope..) I'll release a new clib2 version with TONS of changes and a lot of new functions and improvements over the classic clib2. I'm testing everything against linux to see that everything is working correctly. I've added shared objects, wchar, 64bit, locale, a new math library with an included test suite and fenv, some network functions was missing and a lot of other stuff. Hope it will be easy to port stuff from linux. I'm plan also to create a clib2.library but this will come later
@rjd324 Yeah, that sounds like a good plan. Go for it. I would like to try this out when it is ready.
I find really crucial to have even more development tools in OS4 so that when someone wants to develop natively, will have what they need.
@afxgroup That's really awesome news. Do you plan to merge these changes with the clib2 github repo there is right now? Or are you going to keep it separated?
@walkero Btw, once agxgroup is done, we will need to use his clib2 instead of the "old" one for SDK. For that we only need to SDK to download his version instead of old one and that all. That the only way we will have progress with opensource C lib, as "old" one are too much hold in the past.
Because refering on newlib as default and "be only" stop us from progress, as this is closed from all of us, but thise kind of things should't be closed.
I already tested current betas of Afxgroup's clib2, and that for sure support much more things than newlib, errors free, have a lot of stuff as he says, and even sobjs and co supported.
But firstly we need to test it till death of course, and then add to SDK, but at least "big" things already works/compiles with what Andrea already have.
For some reason I was under the impression that for AmiCygnix I must link with newlib (default). Or, can I link with clib2 instead? I guess so... just keep all my compiler flags but use -mcrt=clib2 ?
@Raziel For clib2 we will need to build pretty lot of 3d party libs (as some of them for now only in newlib form, because original clib2 year by year outdated and devs start to made just newlib based pots).
So for example SDL1/2, GL4ES, SDL libs, mikmod and stuff - all of them need to be also ported to clib2 too. But that pretty easy in general, and basically Andrea already did it all (so he have and SDLs for clib2, and GL4ES, and even more).
In other words we need to wait once Andrea will be ready with release it all to public , and we can start doing some tasty stuff.
And btw, Andrea forget to note, but in some cases his clib2 is _MUCH_ faster than newlib. At least in those test linux-specific cases we test (sometime speed is 2/3 times faster).
For some reason I was under the impression that for AmiCygnix I must link with newlib (default). Or, can I link with clib2 instead? I guess so... just keep all my compiler flags but use -mcrt=clib2 ?
As the name of the lib says ("aos4util_newlib"), you only can use the AmiCygnix libs with newlib.
X-5000 PPC 5020/2 GHZ, Fractal Define XL R2-Tower, OS 4.1 final update 2, 4 GB, Radeon HD 7770, ESI Juli@ XTe SAM 460ex/1,15 GHZ, OS 4.1 final, 2 GB, Radeon HD 6450 Amiga 4000D/040 25 Mhz, OS 3.9 BB2, 272 MB, X-Surf, 250 MB ZIP