Building shared lib for ARM

Jeff Johnston jjohnstn@redhat.com
Thu Apr 2 08:39:00 GMT 2015


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



More information about the Newlib mailing list