* Laslo Hunhold <d...@frign.de> [11.10.2022 23:31]:
On Sun,  9 Oct 2022 13:42:19 +0000
sek...@posteo.se wrote:

Dear Sekret,

I've run it on a MacBook Air (M1, 2022) with an Apple M1 chip.

% ls /usr/local/lib/libgrapheme*
/usr/local/lib/libgrapheme.2.dylib /usr/local/lib/libgrapheme.a

The build process is attached and also contains this line

ld: warning: option -s is obsolete and being ignored

multiple times.

The output does NOT look exactly the same as on the homepage, see the
screeshot attached. The difference is in the first line.

thanks for your extensive test and description, I really appreciate it!
To further simplify installation, I've now added a configure-script[0]
to automate the config.mk-editing on different architectures.

Would you please be so kind to test if it works alright? Thanks in
advance! :)

With best regards

Laslo

[0]:https://git.suckless.org/libgrapheme/commit/30766915c37d88fc423a4d750227a769e7a307ae.html

Works as expected. I've attached the config.mk how it looks after running 
./configure.

Have you sorted out the problem that showed up on my Macbook Air M1?
# Customize below to fit your system (run ./configure for automatic presets)

# paths
PREFIX = /usr/local
INCPREFIX = $(PREFIX)/include
LIBPREFIX = $(PREFIX)/lib
MANPREFIX = $(PREFIX)/share/man

# flags
CPPFLAGS = -D_DEFAULT_SOURCE
CFLAGS   = -std=c99 -Os -Wall -Wextra -Wpedantic
LDFLAGS  = -s

BUILD_CPPFLAGS = $(CPPFLAGS)
BUILD_CFLAGS   = $(CFLAGS)
BUILD_LDFLAGS  = $(LDFLAGS)

SHFLAGS   = -fPIC -ffreestanding

SOFLAGS   = -dynamiclib -install_name libgrapheme.$(VERSION_MAJOR).dylib 
-current_version $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH) 
-compatibility_version $(VERSION_MAJOR).$(VERSION_MINOR).0
SONAME    = libgrapheme.$(VERSION_MAJOR).dylib
SOSYMLINK = false

# tools
CC       = cc
BUILD_CC = $(CC)
AR       = ar
RANLIB   = ranlib
LDCONFIG = 
SH       = sh

Reply via email to