Re: GDC 14.2 "package" for macOS/aarch64

2024-12-26 Thread Sergey via D.gnu

On Friday, 13 December 2024 at 02:43:52 UTC, Brian Callahan wrote:
I got a new Mac yesterday. I was looking for a package of GCC 
that included GDC but couldn't find one. So I made my own.


https://briancallahan.net/blog/20241212.html

Or if you just want the tarball: 
https://github.com/ibara/macOS-GDC/releases/download/14.2/gcc14.tgz


The tarball is designed to be extracted to / creating /opt/gcc

Don't know if anyone else is looking for this, but I was so 
here it is for everyone else.


~Brian


When I've tried to use it - I had issues with linker:
ld: library not found for -ldl


Re: GDC 14.2 "package" for macOS/aarch64

2024-12-29 Thread Sergey via D.gnu

On Sunday, 29 December 2024 at 15:27:42 UTC, Brian Callahan wrote:

On Thursday, 26 December 2024 at 20:37:41 UTC, Sergey wrote:
I have a 
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libdl.tbd that I got from installing the command line tools.


~Brian


I have only older versions of MacOSX over there, but they have 
libdl.tbd file as well..




Re: GDC 14.2 "package" for macOS/aarch64

2025-01-28 Thread Sergey via D.gnu

On Sunday, 29 December 2024 at 16:10:23 UTC, Sergey wrote:
On Sunday, 29 December 2024 at 15:27:42 UTC, Brian Callahan 
wrote:

On Thursday, 26 December 2024 at 20:37:41 UTC, Sergey wrote:
I have a 
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/lib/libdl.tbd that I got from installing the command line tools.


~Brian


I have only older versions of MacOSX over there, but they have 
libdl.tbd file as well..


After updating to the latest macOS version - GDC is kinda working 
now.
I've tested GDC and LDC on the benchmark that we wrote together 
with Bruce and others before: and GDC is working quite slowly


for building I've used: `dub build -b=release 
--compiler={gdc|ldc2}`


```
LDC
Processing time (w/o IO): 899.811ms

GDC
Processing time (w/o IO): 4313.17ms
```