|
|
Message-ID: <542C4F58.70708@sholland.net>
Date: Wed, 01 Oct 2014 14:00:40 -0500
From: Samuel Holland <samuel@...lland.net>
To: musl@...ts.openwall.com
Subject: Re: converting gcc from glibc to musl
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 <stdio.h>
> 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 <samuel@...lland.net>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.