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]

Re: remote linking.


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.


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