remote linking.

Diego Novillo dnovillo@redhat.com
Fri May 10 06:05:00 GMT 2002


On Fri, 10 May 2002, Elias Athanasopoulos wrote:

> On Fri, May 10, 2002 at 12:12:08PM +0930, Alan Modra wrote:
> > On Fri, May 10, 2002 at 12:20:58AM +0300, Elias Athanasopoulos wrote:
> > >  % gcc -static foo.c -L192.168.1.2:/usr/lib/ -lbar -o foo
> >
> > Sorry, I don't think such a feature makes any sense.  You can nfs
> > mount remote directories if you want to do this.
> 
I agree.  What's wrong with

$ wget 192.168.1.2:/usr/lib/libbar.a
$ gcc -static foo.c -L. -lbar -o foo

No need to re-invent the wheel.


Diego.



More information about the Binutils mailing list