Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 1 Oct 2014 15:13:20 -0400
From: stephen Turner <stephen.n.turner@...il.com>
To: musl@...ts.openwall.com
Subject: Re: converting gcc from glibc to musl

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 <samuel@...lland.net> 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 <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>
>

Content of type "text/html" skipped

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.