problem with wolfenstein3d, it doesn't happen with gnush11
if i link with gnush11 it work (with source compiled with gnush12)
wl_act2.cpp
.text+0x52d4): undefined reference to `__truncdfsf2'
wl_act2.cpp
.text+0x52d8): undefined reference to `__gtsf2t'
wl_act2.cpp
.text+0x52e0): undefined reference to `__extendsfdf2'
wl_act2.cpp
.text+0x52e4): undefined reference to `__adddf3'
wl_act2.cpp
.text+0x52f4): undefined reference to `__divdf3'
wl_act2.cpp
.text+0x52f8): undefined reference to `__muldf3'
wl_act2.cpp
.text+0x5300): undefined reference to `__fixdfsi'
wl_act2.cpp
.text+0x5314): undefined reference to `__ashiftrt_r4_8'
wl_draw.o: In function `TransformActor(objstruct*)':
wl_draw.cpp
.text+0x16c): undefined reference to `__sdivsi3_i4i'
wl_draw.cpp
.text+0x174): undefined reference to `__ashiftrt_r4_8'
wl_draw.o: In function `TransformTile(int, int, short*, short*)':
wl_draw.cpp
.text+0x280): undefined reference to `__sdivsi3_i4i'
wl_draw.cpp
.text+0x288): undefined reference to `__ashiftrt_r4_8'
wl_draw.o: In function `CalcHeight()':
wl_draw.cpp
.text+0x320): undefined reference to `__ashiftrt_r4_8'
wl_draw.cpp
.text+0x328): undefined reference to `__sdivsi3_i4i'
wl_draw.o: In function `VGAClearScreen()':
wl_draw.cpp
.text+0x1128): undefined reference to `memset'
wl_draw.o: In function `ScaleShape(int, int, unsigned int, unsigned long)':
wl_draw.cpp
.text+0x155c): undefined reference to `__ashiftrt_r4_6'
wl_draw.o: In function `SimpleScaleShape(int, int, unsigned int)':
wl_draw.cpp
.text+0x180c): undefined reference to `__ashiftrt_r4_6'
wl_draw.o: In function `AsmRefresh()':
wl_draw.cpp
.text+0x2500): undefined reference to `__ashiftrt_r4_6'
wl_draw.cpp
.text+0x2728): undefined reference to `__ashiftrt_r4_6'
wl_draw.cpp
.text+0x2914): undefined reference to `__ashiftrt_r4_6'
wl_draw.o:wl_draw.cpp
.text+0x2ad4): more undefined references to `__ashiftrt_r
4_6' follow
wl_draw.o: In function `ThreeDRefresh()':
wl_draw.cpp
.text+0x35c4): undefined reference to `memset'
wl_draw.cpp
.text+0x3640): undefined reference to `slLocate'
wl_draw.cpp
.text+0x3644): undefined reference to `slPrint'
wl_draw.cpp
.text+0x364c): undefined reference to `sprintf'
wl_game.o: In function `SetupGameLevel()':
wl_game.cpp
.text+0x3d4): undefined reference to `memset'
wl_game.o: In function `LatchNumberHERE(int, int, unsigned int, long)':
wl_game.cpp
.text+0x13a4): undefined reference to `sprintf'
wl_game.cpp
.text+0x13ac): undefined reference to `strlen'
wl_game.o: In function `StartDemoRecord(int)':
wl_game.cpp
.text+0x1514): undefined reference to `malloc'
wl_game.o: In function `FinishDemoRecord()':
wl_game.cpp
.text+0x1614): undefined reference to `__ashiftrt_r4_8'
wl_game.cpp
.text+0x1650): undefined reference to `free'
wl_game.cpp
.text+0x1654): undefined reference to `atoi'
wl_game.o: In function `RecordDemo()':
wl_game.cpp
.text+0x17f0): undefined reference to `atoi'
wl_game.o: In function `PlayDemo(int)':
wl_game.cpp
.text+0x1964): undefined reference to `free'
wl_game.o: In function `Died()':
wl_game.cpp
.text+0x1cf8): undefined reference to `__floatsisf'
wl_game.cpp
.text+0x1cfc): undefined reference to `__fixsfsi'
wl_game.cpp
.text+0x1d00): undefined reference to `MTH_Atan'
wl_game.cpp
.text+0x1d04): undefined reference to `__gtsf2t'
wl_game.cpp
.text+0x1d0c): undefined reference to `__extendsfdf2'
wl_game.cpp
.text+0x1d10): undefined reference to `__adddf3'
wl_game.cpp
.text+0x1d1c): undefined reference to `__truncdfsf2'
wl_game.cpp
.text+0x1d20): undefined reference to `__divdf3'
wl_game.cpp
.text+0x1d24): undefined reference to `__muldf3'
wl_game.cpp
.text+0x1d2c): undefined reference to `__fixdfsi'
wl_game.o: In function `GameLoop()':
wl_game.cpp
.text+0x2280): undefined reference to `memcpy'
wl_play.o: In function `PollControls()':
wl_play.cpp
.text+0x340): undefined reference to `__sdivsi3_i4i'
....
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_cdc2.o: In function `GFCD_Init':
gfs_cdc2.c
.text+0x14ec): undefined reference to `CDC_AbortFile'
gfs_cdc2.c
.text+0x14f0): undefined reference to `CDC_CdInit'
gfs_cdc2.c
.text+0x14f4): undefined reference to `CDC_SetSctLen'
gfs_cdc2.c
.text+0x1504): undefined reference to `CDC_ClrHirqReq'
gfs_cdc2.c
.text+0x1508): undefined reference to `CDC_DataEnd'
gfs_cdc2.c
.text+0x1510): undefined reference to `CDC_TgetToc'
gfs_cdc2.c
.text+0x1514): undefined reference to `CDC_GetSes'
gfs_cdc2.c
.text+0x151c): undefined reference to `CDC_ResetSelector'
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_cdf2.o: In function `GFCF_cnvIntlvOfs':
gfs_cdf2.c
.text+0x150): undefined reference to `__sdivsi3_i4i'
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_trn2.o: In function `gftr_getSrcPack':
gfs_trn2.c
.text+0xec): undefined reference to `__sdivsi3_i4i'
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_dir2.o: In function `GFDR_NameToId':
gfs_dir2.c
.text+0x50): undefined reference to `strncmp'
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_dir2.o: In function `gfdr_read':
gfs_dir2.c
.text+0x1d0): undefined reference to `memset'
gfs_dir2.c
.text+0x1d8): undefined reference to `memcpy'
l:/saturn/SBL6/SEGALIB/GFS/elf/gfs_dir2.o: In function `gfdr_setupDirNameTbl':
gfs_dir2.c
.text+0x7c4): undefined reference to `strncmp'
gfs_dir2.c
.text+0x7c8): undefined reference to `strncpy'
wl_main.o: In function `main':
wl_main.cpp
.text.startup+0x1d4): undefined reference to `atexit'
wl_main.cpp
.text.startup+0x208): undefined reference to `slTVOff'
wl_main.cpp
.text.startup+0x220): undefined reference to `slTVOn'
wl_main.cpp
.text.startup+0x224): undefined reference to `slLocate'
wl_main.cpp
.text.startup+0x228): undefined reference to `slPrint'
wl_main.cpp
.text.startup+0x454): undefined reference to `printf'
wl_main.cpp
.text.startup+0x45c): undefined reference to `exit'
wl_main.o: In function `_GLOBAL__sub_I_str':
wl_main.cpp
.text.startup+0x484): undefined reference to `__sdivsi3_i4i'
collect2: ld returned 1 exit status
make: *** [root/sl.coff] Error 1