This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Shell's "eval" doesn't behave when running a non-cygwin compiler
- To: Andrew Markebo <flognat at flognat dot myip dot org>, cygwin at cygwin dot com
- Subject: Re: Shell's "eval" doesn't behave when running a non-cygwin compiler
- From: Andy Helten <andy dot helten at dot21rts dot com>
- Date: Thu, 15 Mar 2001 21:46:19 -0500
- References: <3AB14F6C.E15E2D61@dot21rts.com> <m3wv9qo9bs.fsf@master.athome>
The (eval echo \"$ac_link\") just displays the compiler command that
will subsequently be executed by (eval $ac_link). This line of shell
code was taken from a 'configure' script created by autoconf.
Andy
Andrew Markebo wrote:
> / Andy Helten <andy.helten@dot21rts.com> wrote:
> | [...]
> |
> | if { (eval echo \"$ac_link\"); (eval $ac_link); } then
>
> Ehm.. you are doing something like
>
> eval echo "ls"
>
> ?? This results in
>
> "ls" at my place.. if I do eval ls I get the listing of the dir.. Or
> have I missed something?
>
> /Andy
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
Shop online without a credit card
http://www.rocketcash.com
RocketCash, a NetZero subsidiary
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple