I am very puzzled. I have just upgraded my system from Stable (Buster) to Testing (Bullseye).
Everything was fine, but I have noticed that I could, for example, do this on Buster and it would build with no problems:
- Code: Select all
gcc -L/usr/lib -lSDL2 -I/usr/include/SDL2 example.c
But I have to do this on Bullseye or it will not build:
- Code: Select all
gcc example.c -L/usr/lib -lSDL2 -I/usr/include/SDL2
So, what has changed? Where can I read about it? I have searched GCC docs with no answer about parameter order becoming strict lately.
Thanks!