crosstool enhancement
Daniel Kegel
dank@kegel.com
Fri Feb 13 00:33:00 GMT 2004
Roman Duka wrote:
> Dan I've just noticed the following comment in crosstool.sh file on
> lines 304-305
>
> # Any file in a list of known suspects that isn't a symlink is assumed
> to be a linker script.
> # FIXME: test -h is not portable
>
> well I had the same problem, and I think this is a sure way to solve it:
>
> file -b /some_path/some_file | grep 'symbolic link' > /dev/null
> issymlink=$?
Yeah, that'd do it. What environment were you in
where test -h failed? Do shell functions work in
that environment? Do you want to build crosscompilers
there?
Thanks,
Dan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list