that worked like a charm. so i have a issue with the way i built musl then? apparently dynamic doesnt work without specifying the library but static is fine. On Wed, Oct 1, 2014 at 3:00 PM, Samuel Holland wrote: > On 10/01/2014 12:54 PM, Stephen Turner wrote: > >> I can compile the following program sucessfully to a.out but cannot run >> it. >> >> # include >> main() >> { >> printf("hello world\n"); >> } >> >> gcc test.c && chmod +x a.out && ./a.out >> > > Also try compiling it statically and then running it. > > gcc -v -static test.c > > What compiler flags did you use when compiling musl? If static linking > works, but dynamic doesn't, that points to a library issue, either with > musl or libgcc. > > -- > Regards, > Samuel Holland >