* userland packages
@ 2000-10-27 0:36 Pete Popov
2000-10-27 2:34 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Pete Popov @ 2000-10-27 0:36 UTC (permalink / raw)
To: linux-mips@oss.sgi.com
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.
Thanks.
Pete
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: userland packages
2000-10-27 0:36 userland packages Pete Popov
@ 2000-10-27 2:34 ` Ralf Baechle
2000-10-27 17:14 ` Jun Sun
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2000-10-27 2:34 UTC (permalink / raw)
To: Pete Popov; +Cc: 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
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: userland packages
2000-10-27 2:34 ` Ralf Baechle
@ 2000-10-27 17:14 ` Jun Sun
2000-10-27 23:27 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Jun Sun @ 2000-10-27 17:14 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Pete Popov, linux-mips@oss.sgi.com
Ralf Baechle wrote:
>
> 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.
>
Pete,
He is not telling the truth. :-) See his very own MIPS-HOWTO,
cross-compile section :
http://www.linux.sgi.com/mips-howto.html
Also, you can take a look of the rpm spec files for the toolchains I put
on ftp.mvista.com/pub/Area51/mips_le/. So far all my usrland stuff are
cross-compiled - I don't have the luxury of a desktop MIPS with 1.6GB
RAM.
Jun
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: userland packages
2000-10-27 17:14 ` Jun Sun
@ 2000-10-27 23:27 ` Ralf Baechle
2000-10-27 23:30 ` Pete Popov
2000-10-30 10:27 ` Maciej W. Rozycki
0 siblings, 2 replies; 7+ messages in thread
From: Ralf Baechle @ 2000-10-27 23:27 UTC (permalink / raw)
To: Jun Sun; +Cc: Pete Popov, linux-mips@oss.sgi.com
On Fri, Oct 27, 2000 at 10:14:23AM -0700, Jun Sun wrote:
> He is not telling the truth. :-) See his very own MIPS-HOWTO,
> cross-compile section :
>
> http://www.linux.sgi.com/mips-howto.html
So you probably never tried to crosscompile something with extensive
autoconf scripts like Gnome. It's a major pain to get that done right.
Running the compiler is the trivial part of build some package ...
> Also, you can take a look of the rpm spec files for the toolchains I put
> on ftp.mvista.com/pub/Area51/mips_le/. So far all my usrland stuff are
> cross-compiled - I don't have the luxury of a desktop MIPS with 1.6GB
> RAM.
I bet your heating makes less noise ...
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: userland packages
2000-10-27 23:27 ` Ralf Baechle
@ 2000-10-27 23:30 ` Pete Popov
2000-10-30 10:27 ` Maciej W. Rozycki
1 sibling, 0 replies; 7+ messages in thread
From: Pete Popov @ 2000-10-27 23:30 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Jun Sun, linux-mips@oss.sgi.com
Ralf Baechle wrote:
>
> On Fri, Oct 27, 2000 at 10:14:23AM -0700, Jun Sun wrote:
>
> > He is not telling the truth. :-) See his very own MIPS-HOWTO,
> > cross-compile section :
> >
> > http://www.linux.sgi.com/mips-howto.html
>
> So you probably never tried to crosscompile something with extensive
> autoconf scripts like Gnome. It's a major pain to get that done right.
> Running the compiler is the trivial part of build some package ...
Our cross development environment make it easy to rebuild all packages
we support, but the big endian tool chain and libs aren't ready yet. I
think I'll just wait :-) I've got plenty of things broken as it is,
without the userland packages.
> > Also, you can take a look of the rpm spec files for the toolchains I put
> > on ftp.mvista.com/pub/Area51/mips_le/. So far all my usrland stuff are
> > cross-compiled - I don't have the luxury of a desktop MIPS with 1.6GB
> > RAM.
>
> I bet your heating makes less noise ...
Pete
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: userland packages
2000-10-27 23:27 ` Ralf Baechle
2000-10-27 23:30 ` Pete Popov
@ 2000-10-30 10:27 ` Maciej W. Rozycki
2000-10-30 21:41 ` Ralf Baechle
1 sibling, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2000-10-30 10:27 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Jun Sun, Pete Popov, linux-mips@oss.sgi.com
On Sat, 28 Oct 2000, Ralf Baechle wrote:
> So you probably never tried to crosscompile something with extensive
> autoconf scripts like Gnome. It's a major pain to get that done right.
Well, for sane scripts that can be handled easily by defining problematic
cache variables to reasonable values. The real problem are helper
programs used to build architecture-dependent data, see e.g. tic in
ncurses.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: userland packages
2000-10-30 10:27 ` Maciej W. Rozycki
@ 2000-10-30 21:41 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2000-10-30 21:41 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Jun Sun, Pete Popov, linux-mips@oss.sgi.com
On Mon, Oct 30, 2000 at 11:27:25AM +0100, Maciej W. Rozycki wrote:
> > So you probably never tried to crosscompile something with extensive
> > autoconf scripts like Gnome. It's a major pain to get that done right.
>
> Well, for sane scripts that can be handled easily by defining problematic
> cache variables to reasonable values. The real problem are helper
> programs used to build architecture-dependent data, see e.g. tic in
> ncurses.
Or as one more example rpcgen in libc. Last I checked libc did cheat and
omit all the affected parts of libc when crosscompiling. Não bom.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-10-30 22:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-27 0:36 userland packages Pete Popov
2000-10-27 2:34 ` Ralf Baechle
2000-10-27 17:14 ` Jun Sun
2000-10-27 23:27 ` Ralf Baechle
2000-10-27 23:30 ` Pete Popov
2000-10-30 10:27 ` Maciej W. Rozycki
2000-10-30 21:41 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox