Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
45 user(s) are online (23 user(s) are browsing Forums)

Members: 0
Guests: 45

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2)


Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2309
@salass00

Quote:
C++ headers are provided with the compiler and not newlib/clib2.

Simply saying that something is missing from std:: namespace is not helpful for me as this is a C++ thing and not something that newlib (or clib2) can provide directly. More helpful would be to know what c library functions are missing that gcc needs in order to provide said feature...

I've already emailed you privately with some of the specifics.

While the C++ headers are provided with the compiler, they use our C stdlib headers. In a few cases we could just enable the missing definitions with a #define in config++.h. However, with cmath, enabling the #define in question results in a list of missing functions. That one was disabled for a reasion.

IIRC, you need to enable the following in config++.h:
#define _GLIBCXX11_USE_C99_MATH 1
#define _GLIBCXX98_USE_C99_MATH 1

NOTE: Newlib and clib2 have separate config++.h

There are some other remaining defines that are disabled too, including ones related to wchar and complex number support. Ideally, we'd have everything in the latest C and C++ libraries supported.

Hans

   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Just popping in
Joined:
2012/7/16 18:57
From Istanbul
Posts: 110
@Hans

Would it be easier to port latest Webkit for AmiCygnix ?

   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2309
@SinanSam460

No idea. I haven't touched AmiCygnix in over a decade, and have never tried to use its SDK.

Hans

   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6268
@Sinan
Quote:

Would it be easier to port latest Webkit for AmiCygnix ?


AmyCygnix is additional layer with its shortcomings and limitations. Fast and efficient browser should't have any big layers in between : it slow things down and bring issues of all sorts.

Edgar can be asked if he can port any browser which use WebKit to AmyCygnix.


Edited by kas1e on 2020/5/19 13:27:05
   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2309
Adding this here, before I forget about it. WebKit also uses posix_memalign(), and I just hit this again with another library. It's a POSIX function that would be very useful if newlib/clib2 supported (along with the new ISO C11 aligned_alloc() that will eventually replace it).

Hans

   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/9/11 12:31
From Russia
Posts: 6268
@Hans
AROS have implementation of it, logic of which can be reused and for us as well:

https://github.com/aros-development-te ... r/posixc/posix_memalign.c

which use malloc_align:

https://github.com/aros-development-te ... piler/stdc/malloc_align.c

Those kind of function ideally can be of course in clib2/newlib, but they can also be in os4_funcs.cpp included and to be builded with.

1.25 version on AROS already use this posix_memalign() and i reuse their aros's code for.


Edited by kas1e on 2020/5/21 9:49:05
   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2309
@kas1e

Quote:
Those kind of function ideally can be of course in clib2/newlib, but they can also be in os4_funcs.cpp included and to be builded with.

Lets get those into clib2/newlib instead of creating an os4_funcs.cpp. With clib2, there's always the option of creating a temporary fork, and submitting pull requests to the master repository.

Volunteers are still needed to make it all happen...

Hans

   Report Go to top

Re: Anyone Tried Compiling the latest WebKit?
Home away from home
Joined:
2007/1/26 21:48
From New Zealand
Posts: 2309
Oh, once billyfish has figured out the mmap()/munmap() stuff, let's get that into the official stdlibs too. That way, Billyfish is the last person who will need to create a workaround...

Hans

   Report Go to top


« 1 (2)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project