From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20624 invoked by alias); 28 Apr 2004 22:05:59 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20509 invoked from network); 28 Apr 2004 22:05:54 -0000 Received: from unknown (HELO mailout.TechFak.Uni-Bielefeld.DE) (129.70.136.245) by sources.redhat.com with SMTP; 28 Apr 2004 22:05:54 -0000 Received: from xayide.TechFak.Uni-Bielefeld.DE.TechFak.Uni-Bielefeld.DE (xayide.TechFak.Uni-Bielefeld.DE [129.70.137.35]) by momotombo.TechFak.Uni-Bielefeld.DE (8.12.11/8.12.11/TechFak/2004/02/24/sjaenick) with ESMTP id i3SM5rOR011978; Thu, 29 Apr 2004 00:05:53 +0200 (MEST) From: Rainer Orth Message-ID: <16528.10942.725616.111974@xayide.TechFak.Uni-Bielefeld.DE> Date: Thu, 29 Apr 2004 00:55:00 -0000 To: Jim Wilson Cc: Karl Vogel , gcc@gcc.gnu.org Subject: Re: HP/Compaq Tru64 linker semantics In-Reply-To: <1083189407.1072.44.camel@leaf.tuliptree.org> References: <6DED3619289CD311BCEB00508B8E133601A68654@nt-server2.antwerp.seagha.com> <40900DC4.1080504@specifixinc.com> <1083189407.1072.44.camel@leaf.tuliptree.org> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2004-04/txt/msg01346.txt.bz2 Jim Wilson writes: > This is because of confusion between "-o output" and > "-oldstyle_liblookup" This should be fixable by defining > SWITCHES_NEED_SPACES to include "o". This changes both gcc.c and > collect2.c, and they will no longer accept "-ooutput" as valid, which > should let the Tru64 linker option work. True, this is even mentioned in the PR. I've just checked that this is true: ld doesn't understand -otest (instead of -o test). I once had a hacky patch to let collect2 pass through certain flags (like -oldstyle_liblookup) unprocessed, but this is much cleaner. I'll prepare a patch. Thanks. Rainer ----------------------------------------------------------------------------- Rainer Orth, Faculty of Technology, Bielefeld University