Re: Re: Linking Q. - merging global symbols.

2000-04-25 Thread Omer Mussaev
On 24 Apr 2000, Oleg Goldshmidt wrote: > Date: 24 Apr 2000 18:18:59 +0300 > To: [EMAIL PROTECTED] > From: Oleg Goldshmidt <[EMAIL PROTECTED]> > Subject: Re: Linking Q. - merging global symbols. > > Omer Mussaev <[EMAIL PROTECTED]> writes: > > > gcc

Re: Linking Q. - merging global symbols.

2000-04-24 Thread Oleg Goldshmidt
Omer Mussaev <[EMAIL PROTECTED]> writes: > gcc ./foo.c -Xlinker --wrap -Xlinker printf foo.c wraps.c ; ./a.out ^^^^ I suppose you need foo.c only once. I am not sure I understand completely how that will help in this situation. Suppose there is g

Re: Linking Q. - merging global symbols.

2000-04-24 Thread Omer Mussaev
Alexander Indenbaum wrote: On Sun, 23 Apr 2000, Omer Mussaev wrote: > Alexander Indenbaum wrote: > > > Hi! > > > > We develop product using Linux / GCC. > > > > We have problems with run time linking with dll ( .so ) using > > dlopen/dlsym. The problem is that global symbols of program and librar

Re: Linking Q. - merging global symbols.

2000-04-23 Thread Oleg Goldshmidt
Alexander Indenbaum <[EMAIL PROTECTED]> writes: > Hi! > > We develop product using Linux / GCC. > > We have problems with run time linking with dll ( .so ) using > dlopen/dlsym. The problem is that global symbols of program and library > with the same name are getting merged when dlopen() exec