Good.
I hope I've been of some help, indeed.

On 8 March 2023 16:36:29 CET, "Max R. Dechantsreiter" <max@performancejones.com> wrote:
On Wed, Mar 08, 2023 at 02:52:07PM +0000, Ralo Kossovo wrote:
Are you compiling with the '-static' flag specified?

Yes, I added that.

I have also been able to compile and run a more complex
test (recursive "Queens" backtrack problem). I need to
consult with the author of my intended application to
see what its problem with musl-gcc might be.

Thank you very much for your suggestions!



On 3/8/23, Max R. Dechantsreiter <max@performancejones.com> wrote:
On Wed, Mar 08, 2023 at 01:51:35PM +0000, Ralo Kossovo wrote:
On 3/8/23, Max R. Dechantsreiter <max@performancejones.com> wrote:
...I got the "validation test" working by setting C_INCLUDE_PATH:

There's got to be a cleaner way to fix this.
What output does '$ echo | $(prefix)/bin/musl-gcc -E -Wp,-v -'
generate? Does '$(prefix)/include' contain any files, in the first
place?

[/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 28> echo |
$INSTALL/bin/musl-gcc -E -Wp,-v -
ignoring duplicate directory
"/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include"
ignoring duplicate directory
"/home/maxd/GNU/opt/gnu/gcc-12.1.0/lib/gcc/x86_64-linux-gnu/12.1.0/include"
ignoring duplicate directory
"/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include"
as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/home/maxd/GNU/opt/gnu/gcc-12.1.0/include"
as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/include"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
/home/maxd/GNU/lib/musl-1.2.3_gcc-12.1.0/include
/home/maxd/GNU/opt/gnu/gcc-12.1.0/lib/gcc/x86_64-linux-gnu/12.1.0/include
/home/maxd/GNU/opt/gnu/gcc-12.1.0/include
/usr/include
End of search list.
# 0 "<stdin>"
# 0 "<built-in>"
# 0 "<command-line>"
# 1 "<stdin>"
[/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 29>

[/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 29> ls $INSTALL/include
aio.h fcntl.h libintl.h pthread.h stddef.h time.h
alloca.h features.h limits.h pty.h stdint.h uchar.h
ar.h fenv.h link.h pwd.h stdio_ext.h
ucontext.h
arpa float.h locale.h regex.h stdio.h ulimit.h
assert.h fmtmsg.h malloc.h resolv.h stdlib.h unistd.h
bits fnmatch.h math.h sched.h stdnoreturn.h utime.h
byteswap.h ftw.h memory.h scsi string.h utmp.h
complex.h getopt.h mntent.h search.h strings.h utmpx.h
cpio.h glob.h monetary.h semaphore.h stropts.h values.h
crypt.h grp.h mqueue.h setjmp.h sys wait.h
ctype.h iconv.h net shadow.h syscall.h wchar.h
dirent.h ifaddrs.h netdb.h signal.h sysexits.h wctype.h
dlfcn.h inttypes.h netinet spawn.h syslog.h wordexp.h
elf.h iso646.h netpacket stdalign.h tar.h
endian.h langinfo.h nl_types.h stdarg.h termios.h
err.h lastlog.h paths.h stdbool.h tgmath.h
errno.h libgen.h poll.h stdc-predef.h threads.h
[/home/maxd/GNU/Build/musl-1.2.3_gcc-12.1.0] 30>