[Top] [All Lists]

Re: Compiling a non-pic glibc

To: Alex Gonzalez <>
Subject: Re: Compiling a non-pic glibc
From: Daniel Jacobowitz <>
Date: Sat, 14 Jan 2006 16:34:51 -0500
Cc: linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.8i
On Thu, Jan 12, 2006 at 10:18:03AM +0000, Alex Gonzalez wrote:
> Hi,
> What is the correct way of cross-compiling a non-pic static glibc?

You can't.  MIPS/Linux userspace toolchains only support PIC out of the
box; if you want to mess around with non-PIC toolchains expect to have
to hack glibc (and possibly other places).  In this case it looks like
GCC's CRT files are PIC.

Daniel Jacobowitz

<Prev in Thread] Current Thread [Next in Thread>