Darwin is the open-source core of macOS, iOS, tvOS and watchOS. It is derived from NeXTStep, Mach, and *BSD; the kernel is called XNU.
Questions tagged [darwin]
367 questions
0
votes
0 answers
Imagick Class not loading
I followed an online tutorial to install ImageMagick and then PECL Imagick Class. I correctly followed all the steps, and added the extension=imagick.so to php.ini, but it keeps throwing the following error: Class 'Imagick' not found in.... Then, if…

Luis Fernández
- 70
- 1
- 7
0
votes
1 answer
Creating a GNU C environment in apple darwin
I had no luck finding precompiled packages of glibc for apple darwin. I could not compile gcc from source, and I'm assuming that compiling glibc will also be very difficult. What I want:
Configuring the darwin system so that it only uses the GNU C…

osolmaz
- 1,873
- 2
- 24
- 41
0
votes
1 answer
Porting GDB server on iOS
I need to cross-compile one of the latest GDB server versions (7.4 or 7.5) for iOS. By default configure script does not support such target (arm-apple-darwin). However, I have an idea to merge Apple's open source version of GDB server (based on…

bsa2000
- 382
- 2
- 11
0
votes
3 answers
How do I get Leopard to work with ssl from the command line
Everything I try and connect to via https fails. Bellow is a curl output, but it does this with git mongo and everything. darwin just doesn't like https.
About to connect() to github.com port 443 (#0)
Trying 207.97.227.239... connected
Connected to…

James Vince
- 1,269
- 3
- 10
- 12
0
votes
2 answers
Darwin Streaming Server Log Format?
I am writing a program that will parse and manipulate logs from Darwin Streaming Servers. Where can I get a definition of what the individual fields headers mean? Are there some kind of documentation in the DSS doc files?
For example, I have this as…

futureelite7
- 11,462
- 10
- 53
- 87
0
votes
1 answer
Boost on darwin statically including libstdc++?
Why does STL code seem to be statically linked into the Boost dynamic libraries on Darwin?
When I build Boost 1.42/1.46.1/1.49 on OS X with gcc 4.6.1 and toolset=darwin, I find that the resulting libraries statically include a lot of STL code, such…

Neil Steiner
- 729
- 1
- 7
- 17
0
votes
1 answer
RTSP play video on Android (encoding)
I have a Darwin Server and sample videos (from Darwin installation) are working (they are playable through Android Media Player). Their encoding (via Android logs) is
05-22 02:23:50.544: I/ASessionDescription(117): v=0
05-22 02:23:50.544:…

svenkapudija
- 5,128
- 14
- 68
- 96
-1
votes
1 answer
Cannot install better-sqlite3 package on MacOS Ventura
I am trying to install the Node.js package better-sqlite3 on my Strapi App, on my new laptop, a MacBook Pro M2 running on MacOS Ventura 13.2.1. It is not successful because, from what I understood, there are packages missing, and specifically while…

MH info
- 52
- 8
-1
votes
1 answer
Make `minikube service` tunnel on darwin bind to a specific port
On Mac, minikube needs to create a tunnel to expose services to the host machine. Normally, it chooses a random port from the available port range for the host side of the tunnel.
My problem is that I am creating a web service which uses Oauth 3rd…

jdevries3133
- 135
- 1
- 6
-1
votes
1 answer
What are the signs of wchar_t on Apple targets?
AFAICT wchar_t is always 32-bit wide on Apple targets.
What is the sign of wchar_t on:
x86 Apple Darwin (32-bit MacOSX)
x86_64 Apple Darwin (64-bit MacOSX)
ARM iOS (32-bit)
AArch64 iOS (64-bit)
?

gnzlbg
- 7,135
- 5
- 53
- 106
-1
votes
1 answer
Failed to compile and install postgreSQL V11 on macOS
I downloaded postgreSQL V11 source code through github, but failed to compile and install it on macOS. This worked one month ago.
Here are the error messages:
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla…

Ren Chen
- 155
- 5
-1
votes
2 answers
ARM Darwin assembly -- looking for system calls (tutorial perhaps)
So I took up assembly programming. It's quite simple on my Ubuntu box: using NASMamd GNU ld, I were able to write more or less complicated HelloWorld-style programs in half an hour.
But when it comes to the iPhone, it's so complicated. First of all,…

H2CO3
- 23
- 1
- 2
-1
votes
1 answer
Why do timelocal and mktime fail to handle daylight savings correctly?
I'm trying to understand how UNIX timelocal and mktime work. Supposedly they handle daylight savings time when you pass the proper value in the struct tm tm_isdst field.
I am testing a very specific moment in time. According to the timezone…

Chuck Remes
- 98
- 9
-1
votes
1 answer
Swift TCP: safe buffer size for `Darwin.send` function
I'm building a small and easy to use TCP framework in Swift 3 for macOS and iOS (someday it will support Linux). This is something new that I explore and thats why there is potential of confusion and bugs.
My internal code looks like this:
if…

DevAndArtist
- 4,971
- 1
- 23
- 48
-1
votes
1 answer
Atomically get value on Mac OS
I need some function to atomically get int value. Something called OSAtomicGet(). Analog of g_atomic_int_get().

shoumikhin
- 1,327
- 15
- 23