Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-21-2005, 11:29 AM   #1
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
Seperate compile from the rest of the installation proces

I use an old P-133 Fujitsu Laptop at home and sometimes at work and I recently figured out a way to use my computer resources more wisely: 'move' the compile process to my server with powerful hardware performance and drop the binaries back to my client machine, which I thought it's a common idea to be implemented.

But what should I do practically when compiling source code? I'd like to learn more about these things... you know using a P-133 machine with 96MB Ram and 1xx MB of free HDD space is not viable at all..

Any advise / info is appreciated.
Old 01-21-2005, 11:38 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
I am not a programmer nor a compiling expert, but I think what you want to do is called cross-compiling. Searching this keyword in google I found this:

I guess you could also apply this to 'normal' software.
Old 01-21-2005, 02:51 PM   #3
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
this can get a little tricky
if it's an intel platform i don't think it's cross compiling
just don't use compiler architecture flags above the older computers architecture (arch=i586) ?
then just try it
if core lib gcc versions are way different you might have to build some older or newer gcc libs on the target for compatability (or just copy them from the server) i've just copied libs before and they work even though you think they wouldn't because they were compiled on a different glibc version.
basically just run them from the command line on the host and see if they complain about missing stuff and if they do then go from there to make them happy.
Old 01-21-2005, 09:34 PM   #4
Registered: Jul 2003
Distribution: Slackware
Posts: 390

Rep: Reputation: 53
Have a look at distcc (; it's a front end to gcc that allows for distributed compilation.

Your laptop and server can work cooperatively to compile source.

Old 01-21-2005, 11:18 PM   #5
Registered: Oct 2003
Location: Hong Kong
Distribution: Slackware
Posts: 96

Original Poster
Rep: Reputation: 15
Great, I shall have a look.

BTW I did a bit of embedded system stuff and I suppose cross compling is basically to use platform A machine to compile stuff for machine B.
E.g. an i686 machine compiling stuff for powerpc... then you need to pass some flags to the compiler when compiling.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User proces limit webserve Linux - Security 7 08-12-2005 08:52 PM
what do I do with the rest of installation cds? adonai Linux - Newbie 7 06-12-2004 02:40 PM
Error Proces Booting After Compiling Kernel 2.6.3 Gijet Red Hat 7 06-04-2004 11:21 PM
Installation on a seperate hard drive with win XP on the other fedoracorechris Fedora 2 04-19-2004 11:45 AM
Need a challange?!? Try to solve this one: INTER PROCES COMMUNICATION rkrijger Linux - Software 1 10-29-2003 10:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration