Thread: Sdl-1.2.15
View Single Post
Old 08 December 2017, 21:39   #8
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Quote:
Originally Posted by arti View Post
For _kprintf just link -ldebug.

For the other -lm.
I ussualy get it if compiled with -msoft-float.
thanks, -ldebug fixed the _kprint stuff. still I get the float stuff:
Code:
:SDL_string.go: undefined reference to `___floatunsidf'
):SDL_string.go: undefined reference to `___floatunsidf'
4):SDL_string.go: undefined reference to `___floatunsidf'
:SDL_audio.go: undefined reference to `___floatunsidf'
x7e):SDL_dummyaudio.go: undefined reference to `___floatunsisf'
so this needs a special math lib?
using -g -O2 -m68020-40 with gcc 3.4.0 - same with -g -m68020 -m68881

Last edited by emufan; 08 December 2017 at 21:49.
emufan is offline  
 
Page generated in 0.05720 seconds with 11 queries