> 
> 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


Reply via email to