On Tue, Sep 20, 2005 at 12:01:17PM +0300, Shachar Shemesh wrote: > David D wrote: > > >Just shooting in the dark: chroot and gcc -L ? > > > > > Chroot would require me to build another environment, just for the > building. No thanks.
As was mentioned, there is a tool to do this - debian package sbuild. Never used it myself. Might turn out to be quite comfortable. I think you might want to start by linking the libs you want directly, not using '-l', e.g. gcc -o exec1 f1.o f2.o /path1/lib1.a /path2/lib2.a You might also try 'gcc -v' to see what it does, and also try running collect2 (or ld, which it runs) directly. -- Didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]