This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
remote linking.
- From: Elias Athanasopoulos <eathan at otenet dot gr>
- To: binutils at sources dot redhat dot com
- Date: Fri, 10 May 2002 00:07:26 +0300
- Subject: 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.