This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [powerpc] powerpc*-*-elf and -mrelocatable-lib
- From: "Howland Craig D (Craig)" <howland at LGSInnovations dot com>
- To: <newlib at sources dot redhat dot com>
- Cc: "Emil Medve" <Emilian dot Medve at Freescale dot com>
- Date: Wed, 5 Aug 2009 17:54:15 -0400
- Subject: RE: [powerpc] powerpc*-*-elf and -mrelocatable-lib
- References: <4A79EBC9.6020500@Freescale.com>
Emil:
I'd expect that the answer is because -mrelocatable-lib is the most
general, working when linked with code compiled either with the same
option, -mrelocatable, or -mno-relocatable.
I've been fine with the -mrelocatable-lib, but it is possible for
it to cause trouble (see
http://www.xilinx.com/support/answers/19804.htm)
so I would think that a patch could be worthwhile.
Craig
-----Original Message-----
From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
On Behalf Of Emil Medve
Sent: Wednesday, August 05, 2009 4:30 PM
To: newlib@sources.redhat.com
Subject: [powerpc] powerpc*-*-elf and -mrelocatable-lib
Hello,
I searched through the archives and I couldn't find an answer to why is
-mrelocatable-lib used all
the time when building newlib for a PowerPC target.
I'm trying to use and build newlib for a bare-metal embedded application
(powerpc*-*-elf) and I was
wondering if anybody else would find useful a patch that would make a
--enable-static
--disable-shared (--without-pic ?) configuration build without ?
Cheers,
Emil.