[arm-gnu] Static linking with clock_gettime
Carlos O'Donell
carlos_odonell at mentor.com
Mon Sep 17 14:02:03 UTC 2012
On 9/17/2012 9:57 AM, Robert PINSKER wrote:
> I need to link an executable statically but ideally I want to
> include clock_gettime in this code, which normally causes a link
> failure with a static link. It’s been suggested that I need
> glibc-static-devel or some such to do this. How can I do this with
> CodeSourcery?
We automatically ship all the pieces you need to do a static link.
Exactly what error message are you getting?
Can you provide a simple example?
Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell at mentor.com
carlos at codesourcery.com
+1 (613) 963 1026
More information about the arm-gnu
mailing list