Hi,

I am trying to get SDLMame[1] to build in T2.

 > Linking obj/sdl/mame/build/verinfo...
> i686-t2-linux-uclibc-ld -Wl,--warn-common -s obj/sdl/mame/build/verinfo.o obj/sdl/mame/libocore.a -lm `sdl-config --libs` -o obj/sdl/mame/build/verinfo

Apparently it was never intended to call the linker directly. I did not think
of that.

Looking into sdlmame's makefile I find:

> # compiler, linker and utilities
> AR = @ar
> CC = @gcc
> LD = @gcc
> MD = -mkdir$(EXE)
> RM = @rm -f

And as LD is already defined by T2 it all goes downhill because now LD ist
really pointing to a pure linker.

To circumvent that I added:

> export LD=$CC

to my sdlmame.conf file. Now it survives the compile and linking stages.
Bingo.

There are other problems I need to investigate...

Ciao, MM
--
Marian Aldenhövel, Rosenhain 23, 53123 Bonn
http://www.marian-aldenhoevel.de
"I ran some quick calculations on it. He's about 80% on the right
 track.  That leaves him only 20% dead when he crashes." Bob C

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to