2008-04-09 13:06:55     How to cross compile SDL lib

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-09 13:06:55     How to cross compile SDL lib

x xd (CHINA)

Message: 53940   

 

Hi,everyone

 

my error:

 

find $(VER) -type f -print0 | xargs -0 touch -r $(VER)/configure

xargs: environment is too large for exec

 

who can help me

 

the makefile

 

VER = SDL-1.2.13

 

CONF_OPTS = \

--disable-arts \

--disable-esd \

--disable-pth \

--disable-video-directfb \

--disable-video-x11

 

# upstream's install targets lack dependencies on the things

# they install, so just decouple build/install steps

all: build-$(VER)/Makefile

$(MAKE) -C build-$(VER)

$(MAKE) -C build-$(VER) install DESTDIR=$(STAGEDIR)

 

build-$(VER)/Makefile:

find $(VER) -type f -print0 | xargs -0 touch -r $(VER)/configure

set -e ; \

rm -rf build-$(VER) ; \

mkdir build-$(VER) ; \

cd build-$(VER) ; \

../$(VER)/configure $(CONFIGURE_OPTS) $(CONF_OPTS)

 

clean:

rm -rf build*

 

romfs:

$(ROMFSINST) -d -e CONFIG_FMT_USE_FDPIC_ELF $(STAGEDIR)/usr/lib/libSDL-1.2.so.0 /usr/lib/libSDL-1.2.so.0

 

.PHONY: all clean romfs

QuoteReplyEditDelete

 

 

2008-04-09 14:49:45     Re: How to cross compile SDL lib

Mike Frysinger (UNITED STATES)

Message: 53942    please do not post the same question multiple times

 

what does `env` show ?  what distribution are you using ?  if you're getting that error, usually it's because you either have a lot of **** in your environment or you're using an old version of findutils and should uprade

Attachments

    Outcomes