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

Re: gcc-ld woes



Scott Bigham wrote:
>   - It apparently doesn't scan libraries multiple times, leading to
>     scads of undefined symbols unless I explicitly put every library on
>     the command line twice.

Just build your library with "gcc-ar rs" instead of "gcc-ar r", and
you won't need to give the libraries twice to the linker.

Wolfgang

----
Wolfgang Lux
WZH Heidelberg, IBM Germany             Internet: lux@heidelbg.ibm.com
+49-6221-59-4546                        VNET:     LUX at HEIDELBG
+49-6221-59-3500 (fax)	                EARN:     LUX at DHDIBMIP