Re: linking db2 libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again,

please try to link it static!

> We are using gcc 3.4.1 on out development machine and gcc 2.95.3 on our QA
> machine.I have made an exe on our development machine using the foll cmd.
> 
> LINK=g++ -shared -fPIC
> LNFLAGS=-o

LINK=g++ -static
LNFLAGS=-o

the -shared -fPIC are most useful, if you specify -c to build an object file.

Cheers - Reuti

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux