🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
1 messages
1 total messages Started by DeMarcus Thu, 01 Dec 2011 10:06
How do I cross-compile with libtool?
#3704
Author: DeMarcus
Date: Thu, 01 Dec 2011 10:06
25 lines
2058 bytes
Hi,

I'm trying to cross-compile X11. The X11 packages use libtool.

For all my packages I use --prefix=/usr (to be installed on an embedded 
system) but when installing I use make install DESTDIR=/some/other/path 
to be able to stage before deploying. I guess this is the common way to 
do it?

Now, libtool seems to not being able to handle that kind of 
cross-compilation.

The only solutions I've found on the net are hacks, like going into all 
.la files and change libdir='/usr/lib' to 
libdir='/some/other/path/usr/lib'. That didn't solve it though.

The only solution I've found so far that seems to solve it is to remove 
all .la files after each package has been installed.

Is there a correct solution or do we have to wait until libtool supports 
cross-compilation?


Thanks,
Daniel
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads