Originally Posted by Mak007
so it means i hv written a source code but have no compiler to execute it .. for the execution i wanna use the compiler installed on other machine A.. how can i do tht pls tell me
.. i am new to linux i dun even noe how to connect two linux machines !! all replies will be appreciated thnx!!
Do you mean to COMPILE your source code using a compiler installed on a different machine??
However strange the idea may sound, it is quite possible to do. You may need it in case your source code (for example, your kernel source) is on a machine with very low resources (say, Pentium II 82Mb of RAM) and you want to compile quickly.
Suppose, now, your source code is on the Linux machine A and your compiler on the B machine. If you've established your network connectivity using the above given manuals (which is pretty simple and straightforward, so I need not dwell on that), you can now configure your A machine as a NFS
server and some partition (directory) on it as a NFS partition.
Then you can mount your NFS partition via network on your B machine (which will act as a NFS client), where your compiler is. Once NFS-mounted on your B machine, the source code on that partition becomes available on your B machine like any local code. So you can compile it using local compiler. Sure thing, the speed will be limited by the I/O speed of your A machine's HDD controller and bus (as your NFS partition is still on your A machine). But the memory and processor of your B machine will speed things up considerably.
Read the NFS-HOWTO
in order to better understand what NFS is. Essentially, NFS is a protocol that allows mounting partition from one machine on another and work with it as though it was a local partition. There's nothing really complicated about this stuff.
I remember doing it when my source code was on a very low resource machine and I needed to compile it rather quickly. That worked fine!
But hey, you can do the same on your Mac, eh?