This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Building shared lib for ARM
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Darpan KA <darpanrulz at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Wed, 1 Apr 2015 16:33:16 -0400 (EDT)
- Subject: Re: Building shared lib for ARM
- Authentication-results: sourceware.org; auth=none
- References: <CAE0PtA9LkgwBrW1boW3izfzXOEbxVM8yweEQxAkLXOfH7Ov8LA at mail dot gmail dot com> <CAE0PtA8ebN6C7v3+YzbCRzW5s1KT_+q1Dy0s1c9Z3Mi5LL3mHg at mail dot gmail dot com>
Hi Darpan,
This is not currently supported by the build. There is an old comment about libtool trying to perform
an executable test which is an issue when building (i.e. library
doesn't exist yet), but I don't know if that comment is still valid.
Assuming libtool support for arm works, you could try adding a target to configure.host
that would identify an arm shared target or perhaps add a check for a configuration variable
and add code to the normal arm configuration such that it would set:
use_libtool=yes
a_ext=la
o_ext=lo
lpfx=
Then, try your build. You might require some other tweaks.
-- Jeff J.
----- Original Message -----
From: "Darpan KA" <darpanrulz@gmail.com>
To: jjohnstn@redhat.com
Cc: newlib@sourceware.org
Sent: Wednesday, April 1, 2015 5:28:37 AM
Subject: Building shared lib for ARM
Dear Jeff,
Please could you provide the steps to be followed to build shared newlib
for ARM.
I am abke to build only static library for ARM. Shared library builds ony
for i386.
Best Regards,
Darpan