https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123976

--- Comment #219 from Peter Dyballa <Peter_Dyballa at web dot de> ---
(In reply to Iain Sandoe from comment #217)
> (In reply to Peter Dyballa from comment #214)
> > Created attachment 64938 [details]
> > powerpc-apple-darwin9.8.0/libgcc/Makefile
> > 
> > The requested Makefile from <objectsdir>/powerpc-apple-darwin9.8.0/libgcc
> 
> that has the correct entries for 
> 
> md_unwind_def_header = no-unwind.h
> md_unwind_header = no-unwind.h
> 
> and the rules to make the symlinks
> 
> ```
> # Create links to files specified in config.host.
> LIBGCC_LINKS = enable-execute-stack.c \
>                unwind.h md-unwind-def.h md-unwind-support.h \
>                sfp-machine.h gthr-default.h
> 
> enable-execute-stack.c: $(srcdir)/$(enable_execute_stack)
>       -$(LN_S) $< $@
> unwind.h: $(srcdir)/$(unwind_header)
>       -$(LN_S) $< $@
> md-unwind-def.h: $(srcdir)/config/$(md_unwind_def_header)
>       -$(LN_S) $< $@
> md-unwind-support.h: $(srcdir)/config/$(md_unwind_header)
>       -$(LN_S) $< $@
> sfp-machine.h: $(srcdir)/config/$(sfp_machine_header)
>       -$(LN_S) $< $@
> gthr-default.h: $(srcdir)/$(thread_header)
>       -$(LN_S) $< $@
> ```
> 
> what do you see if you edit that file (in powerpc-apple-darwin9/libgcc) and
> remove the '-' from the begining of each of those commands .. and then try
> 
> $ make md-unwind-def.h

leopard pete 255 /\  vi Makefile 

[1]  + 20752 Suspended                     vi Makefile
leopard pete 256 /\  make md-unwind-def.h
ln -s ../../../gcc-16-branch-gcc-16-1-darwin/libgcc/config/no-unwind.h
md-unwind-def.h

> 
> perhaps you have some bizzare issue with ln ?

No. It has already and successfully created three other working symlinks:

leopard pete 261 /\  ls -l | egrep '^l'
lrwxr-xr-x  1 pete  admin     58  4 Jul 02:48 gthr-default.h ->
../../../gcc-16-branch-gcc-16-1-darwin/libgcc/gthr-posix.h
lrwxr-xr-x  1 pete  admin     64  4 Jul 09:31 md-unwind-def.h ->
../../../gcc-16-branch-gcc-16-1-darwin/libgcc/config/no-unwind.h
lrwxr-xr-x  1 pete  admin     64  4 Jul 02:48 md-unwind-support.h ->
../../../gcc-16-branch-gcc-16-1-darwin/libgcc/config/no-unwind.h
lrwxr-xr-x  1 pete  admin     62  4 Jul 02:48 unwind.h ->
../../../gcc-16-branch-gcc-16-1-darwin/libgcc/unwind-generic.h

> 
> what do you get for
> `which ln` ?

leopard pete 257 /\  which ln
/bin/ln
leopard pete 258 /\  ln --version
ln: illegal option -- -

strings does not show something like a version number in /bin/ln. And my floc
alias can only find /bin/ln.

Reply via email to