[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] handling immintrin.h with #including SDL2 headers on Linu
From: |
Alexander Nicholi |
Subject: |
[Tinycc-devel] handling immintrin.h with #including SDL2 headers on Linux |
Date: |
Wed, 12 Feb 2020 22:34:53 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 |
When compiling any CU that #includes an SDL2 header, I get the following
error from TCC:
> In file included from src/events.c:10:
> In file included from /usr/include/SDL2/SDL.h:38:
> /usr/include/SDL2/SDL_cpuinfo.h:86: error: include file 'immintrin.h'
not found
this is the command line:
> tcc -c -o src/events.c.o -Wall -fPIC -std=c89 -x c -UNDEBUG -Iinclude
-I3rdparty/lodepnglib/include -I3rdparty/mt19937lib/include
-I3rdparty/unilib/include -I3rdparty/teslib/include -isystem src
src/events.c
My guess is that SDL2 requires SSE2 immediate intrinsics, and TCC
doesn’t provide these? I don’t exactly need them when I’m compiling with
TCC, so is there is a way to disable that or fake it out?
Regards,
Alexander Nicholi
- [Tinycc-devel] handling immintrin.h with #including SDL2 headers on Linux,
Alexander Nicholi <=