I get this:
Code: Select all
checking for the pthreads library -lpthreads... no
...
configure: error: Missing POSIX Threads support
Code: Select all
/opt/devkitpro/devkitA64/aarch64-none-elf/bin/ld -L/opt/devkitpro/portlibs/switch/lib -lpthread
Code: Select all
/opt/devkitpro/devkitA64/aarch64-none-elf/bin/ld: warning: cannot find entry symbol _start; not setting start address
Thank you in advance
./configure command:
Code: Select all
./configure \
CFLAGS='-D__SWITCH__ -D_GNU_SOURCE -O2 -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec' \
CXXFLAGS='-D__SWITCH__ -D_GNU_SOURCE -O2 -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec' \
LDFLAGS='-fPIE -L/opt/devkitpro/portlibs/switch/lib -L/opt/devkitpro/libnx/lib' \
--prefix=/opt/devkitpro/portlibs/switch \
--host=aarch64-none-elf \
--enable-shared=no \
--disable-glib \
--disable-gobject \
--disable-dbus \
--disable-gdbm \
--disable-libdaemon \
--disable-python --disable-pygobject --disable-python-dbus \
--disable-mono \
--disable-autoipd \
--disable-monodoc \
--disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-xml --disable-doxygen-html \
--disable-manpages \
--disable-xmltoman \
--disable-qt4 \
--disable-qt5 \
--disable-gtk \
--disable-gtk3 \
--with-xml=none