This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remote linking.


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.	


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]