linux-mips
[Top] [All Lists]

Re: userland packages

To: Pete Popov <ppopov@mvista.com>
Subject: Re: userland packages
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 27 Oct 2000 04:34:33 +0200
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
In-reply-to: <39F8CE01.3782BBF5@mvista.com>; from ppopov@mvista.com on Thu, Oct 26, 2000 at 05:36:17PM -0700
References: <39F8CE01.3782BBF5@mvista.com>
Sender: owner-linux-mips@oss.sgi.com
On Thu, Oct 26, 2000 at 05:36:17PM -0700, Pete Popov wrote:

> Is there a guide on how to rebuild userland packages from source code? 
> I've installed the cross compiler and can compile a kernel, but when I
> try to build a simple userland app, the compiler can't find libraries,
> include files, etc.

You have to copy all the includes and libraries to
/usr/mips-linux/{include,lib}/, then fixup linker scripts that disguise
themselfes as .so files like libc.so and you can start.

Getting everything to crosscompile is a hard job, I really recomend
native builds.

  Ralf

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