[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] How to strip petalinux binaries
Hello everyone,
Please forgive me if I'm asking a question with an obvious answer.
To illustrate my problem, I've created a stock application by using "petalinux-new_app". Now when I try and run microblaze-uclinux-strip I get a message saying the file format is not recognised.
I figure the tools are automatically converting the image from an elf into something else (elf2flt), my question is how can I strip the resulting binary, or get the tools to strip the elf file before converting it?
My screen dump below, just in case.
Many thanks.
[klaphik@asp hello]$ make
microblaze-uclinux-gcc -c -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mxl-barrel-shift -mcpu=v7.00.b -DEMBED -I/home/tipaye/petalinux/software/petalinux-dist -I/home/tipaye/petalinux/software/petalinux-dist/include -I/home/tipaye/petalinux/software/petalinux-dist/include -Dlinux -D__linux__ -Dunix -D__uClinux__ -DLINUX -o hello.o hello.c
microblaze-uclinux-gcc -L/home/tipaye/petalinux/software/petalinux-dist/lib -mno-xl-soft-mul -mxl-barrel-shift -mcpu=v7.00.b -o hello hello.o
[klaphik@asp hello]$ microblaze-uclinux-strip hello
microblaze-uclinux-strip: hello: File format not recognized
[klaphik@asp hello]$