Open m0rt3nlund opened 8 months ago
I was able to compile it when I added -DNGETRUSAGE=1
to the CFLAGS for Linux
I am not sure how to fix this in a way to allow it to be compiled by Zig though.. I guess this is happening because the Makefilx.win does not apply when compiling picosat_elixir when the host is linux and the target is Windows. Somehow..
UNAME_SYS := $(shell uname -s)
ifeq ($(UNAME_SYS), Darwin)
CFLAGS := -std=c99 -finline-functions -Wall
LDFLAGS := -flat_namespace -undefined suppress
else ifeq ($(UNAME_SYS), FreeBSD)
CFLAGS := -std=c99 -finline-functions -Wall
else ifeq ($(UNAME_SYS), Linux)
CFLAGS := -std=c99 -finline-functions -Wall -DNGETRUSAGE=1
endif
Hi!
I am trying to compile this project as it is part of the Elixir Ash library.
I am compiling it using Burrito which is using Zig (Mingw)
I have tried to make my own
.h
files that link to the files inside Zig but it is a never ending rabit hole as file x links to y and y to z and so on...This is the output I get: