Re: problem with static member variable in dynamic library

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

 



Hi Matze,

I recommend using g++ to compile and link, instead of just using g++ to compile, and trying to cobble together your own ld to link.

If you really, really, really want to use your own ld, first use g++ -v to link, and then note what g++ passes to ld, and make sure that you understand why g++ is passing the parameters it does, and when to use or not use them, and be aware that your ld is brittle in the sense that upgraded versions of GCC will likely break your custom ld.

HTH,
--Eljay


[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