This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link tests not allowed
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: rupp at gnat dot com (Douglas B Rupp)
- Cc: wilson at specifix dot com (Jim Wilson), gcc at gcc dot gnu dot org
- Date: Sun, 31 Dec 2006 22:46:30 -0500 (EST)
- Subject: Re: Link tests not allowed
>
> Jim Wilson wrote:
> > Inside the gcc configure,
> > we do "test -x $NM_FOR_TARGET" and this fails because NM_FOR_TARGET
> > expands to more than a program name, and the shell test -x command does
> > not handle this case. We need to extract out the program name for this
> > test. This should be easy enough to do. There is an example showing
> > how to do this a few lines below. Want to try writing a patch?
>
> I'm happy to try writing a patch, but my version of gcc/configure
> doesn't look like what you described.
>
> # First try the environment variables. Handle full paths or basenames.
> if test "x$gcc_cv_nm" = x && test -n "$NM_FOR_TARGET"; then
> # Extract the first word of "$NM_FOR_TARGET", so it can be a
> program name with args.
> ...
Did someone forget to tell you that AIX 4.3 and above are not really
supported by the GNU binutils anyways? So it is kinda of useless to
have a cross compiler which does not work anyways :).
Also since I have not seen in the thread at all, what options are you passing
to configure? Are you using a sysroot or some other way of having the libraries?
Thanks,
Andrew Pinski