From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,52a86398916d1e6d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-12-11 07:34:19 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newsfeed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!pd7cy1no!shaw.ca!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Paul Pluzhnikov Newsgroups: comp.unix.tru64 Subject: Re: attempt to link manually by invoking collect2; __ldr_data and __Argv unresolved Date: 11 Dec 2003 07:34:00 -0800 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Sender: paul@salmon.parasoft.com References: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:11023 "I. Lange" writes: > # simple C++ program to be compiled and linked Looks like you went through a lot of trouble trying to figure out what the proper link line is, and still didn't. Why not ask 'g++' to tell you what the link line should be (with '-v') and use *that* ? And while you are at it, why not use 'g++' for linking in the first place? Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.