Mike Melanson dixit:
gcc -std=gnu89 -I../linux/include/linux -I. -DXZ_DEC_X86 -DXZ_DEC_POWERPC
^^
You probably want -std=gnu99 here.
-DXZ_DEC_IA64 -DXZ_DEC_ARM -DXZ_DEC_ARMTHUMB -DXZ_DEC_SPARC
-DXZ_DEC_ANY_CHECK -ggdb3 -O2 -pedantic -Wall -Wextra -c -o boottest.o
boottest.c
In file
- Mail original -
De: Mike Melanson m...@multimedia.cx
À: xz-devel@tukaani.org
Envoyé: Jeudi 29 Mars 2012 01:52:42
Objet: Re: [xz-devel] The right data for Embedded XZ?
Yes, using
cd userspace make
should compile xzminidec for you.
I hacked the makefile a bit more
On 3/27/2012 11:47 PM, g@free.fr wrote:
I have used xzminidec code unchanged and --check=crc32 has to be used during
compression with xz as this is the onlyt crc supported by xzminidec.
Depending of data to be compressed size, setting dictionary size on compression
to the size of
Yes, using
cd userspace make
should compile xzminidec for you.
I hacked the makefile a bit more to compile against klibc.
Ah, I hadn't seen this sample app before. Unfortunately, building on my
Ubuntu Linux system failed with:
gcc -std=gnu89 -I../linux/include/linux -I. -DXZ_DEC_X86