remote linking.

Elias Athanasopoulos eathan@otenet.gr
Thu May 9 13:55:00 GMT 2002


Hi all,

I would like to introduce the idea of remote linking to the GNU ld. I plan
to modify the sources, so as the linker to be able to link archives which
are not hosted locally. 

Consider the following:

 % gcc -static foo.c -l192.168.1.2:/usr/lib/bar.a -o foo  

The above line tells the linker to link bar.a, which is stored in /usr/lib
of the machine 192.168.1.2 to foo.o. 

In a similar way remote dynamic linking can be achieved, but in that case
the dynamic linker should be modified as well.

At the moment, I'm thinking of the protocol implementation which will allow
the linker to communicate with other machines (I have a strong feeling that
parts of ssh can be quite helpful). My questions are:

(a) has my idea any value? 
(b) are there any people working in a similar task?

Regards,
Elias

-- 
http://gnewtellium.sourceforge.net			MP3 is not a crime.	



More information about the Binutils mailing list