From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,942afaf287eebe84,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-13 04:11:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!nntp.cprm.net!venus.telepac.pt!news.telepac.pt!not-for-mail From: Fernando Nunes Newsgroups: comp.unix.tru64 Subject: Strange ld behavior in versions 4.0F and above Date: Fri, 12 Apr 2002 23:21:36 +0100 Organization: Telepac Message-ID: <3CB75DF0.773FA9FB@Mnetcabo.pt> NNTP-Posting-Host: a213-22-29-150.netcabo.pt Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: venus.telepac.pt 1018650192 27081 213.22.29.150 (12 Apr 2002 22:23:12 GMT) X-Complaints-To: abuse@mail.telepac.pt NNTP-Posting-Date: Fri, 12 Apr 2002 22:23:12 +0000 (UTC) X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.unix.tru64:7276 Hi, I'm sorry if this is a dummy question with a simple answer, but I've RTFM and got no answers... I've noticed a change in Tru64 4.0F "ld" behavior. If you create a "test.c" whith the following content: --------------------- main() { foo(); } --------------------- (and you ignore the lack of ANSI compliance in the code) and issue the command: cc -o test test.c You'll get an obviously message from the linker saying that there are unresolved symbols. The point is you'll have a "test" file (without execution permission) hanging around. This has a nasty effect if you're using the make utility because if by mistake you repeat the make process it will skip the "test" compilation because the file will be there (although it's completly useless). Does this have a logical explanation? Is there any compilation/linker flag that will avoid this? Is it some kind of bug? Thank you in advance, Fernando Nunes