the lartware's compile-tool is arm-linux ,the executable can run without linux? i think it should be arm-elf if i wanna build standalone mad,that is right?
The arm-linux compiler should be fine as far as i know. As long as your code has no system calls it should run without linux. For example minimad.c has things like that mmap call, which i think requires an os.
minimad can be compiled and ran no complaint,but it look like doing nothing.
Use minimad like this : ./minimad < file.mp3 > file.wav It reads and writes from stdin and stdout.
To make minimad run standalone you must change it so that it reads from a pointer to the mp3 in memeory, rather than stdin.
Tell me if you manage to compile minimad for ARM using the lart compiler. I am struggling!