Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 22:56:33 -0700
From:      Phoenix Yuan <sfupy@shaw.ca>
To:        freebsd-questions@freebsd.org
Subject:   Alias Problem
Message-ID:  <41492B11.8050503@shaw.ca>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41492B11.8050503>