From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 05:57:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9091816A4CE for ; Thu, 16 Sep 2004 05:57:12 +0000 (GMT) Received: from pd2mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AC5B43D31 for ; Thu, 16 Sep 2004 05:57:05 +0000 (GMT) (envelope-from sfupy@shaw.ca) Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-qfe3.prod.shaw.ca [10.0.141.107]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I44005V2DUDEN40@l-daemon> for freebsd-questions@freebsd.org; Wed, 15 Sep 2004 23:56:37 -0600 (MDT) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd2mr4so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I4400ALADUDHN70@pd2mr4so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 15 Sep 2004 23:56:37 -0600 (MDT) Received: from [192.168.0.100] (S01060050180205a3.vc.shawcable.net [24.80.144.89]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I4400L0VDUC1Q@l-daemon> for freebsd-questions@freebsd.org; Wed, 15 Sep 2004 23:56:37 -0600 (MDT) Date: Wed, 15 Sep 2004 22:56:33 -0700 From: Phoenix Yuan To: freebsd-questions@freebsd.org Message-id: <41492B11.8050503@shaw.ca> Organization: Simon Fraser University MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 Subject: Alias Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pyjunk@shaw.ca List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 05:57:12 -0000 I want to create an alias for a command such as: ld -shared something.o somethingElse.o -o something.so The initial alias I created is ldd -shared $1 $2 -o $3 When I ran ldd something.o somethingElse.o something.so I received complain about the C-shell not able to find something.so Eventually, I figured out the problem is the -o flag. It gets between the arguments. So, how can I fix alias? Many thanks