Subject: Re: crtend.o : how to find the Holy Graal ?
To: <>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 10/26/2002 08:53:56
> cc is likely a buildlink2 wrapper... I'd be interested in the output from a cc 
> -v in both your case and from the guys who actually have the crtend.o problem

cd to pkgsrc/sysutils/rox/work/rox-1.2.0/src
Adding -v to LDFLAGS 
typed make
(rebuilds ROX-filer every time!)
got:

Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
 ld -m elf_i386 -dc -dp -e __start -dynamic-linker /usr/libexec/ld.elf_so
 -o ROX-Filer /usr/lib/crt0.o /usr/lib/crtbegin.o
 -L/oldroot/usr/bsd-current/pkgsrc/sysutils/rox/work/.buildlink/lib
 -L/usr/pkg/share/x11-links/lib
 -L/oldroot/usr/bsd-current/pkgsrc/sysutils/rox/work/.buildlink/lib
 -L/oldroot/usr/bsd-current/pkgsrc/sysutils/rox/work/.buildlink/lib
 -L/usr/pkg/lib -L/usr/pkg/lib
 action.o appinfo.o appmenu.o bind.o choices.o collection.o dir.o diritem.o
 display.o dnd.o filer.o find.o fscache.o gconvert.o gtksavebox.o
 gui_support.o i18n.o icon.o infobox.o main.o menu.o minibuffer.o
 modechange.o mount.o options.o panel.o pinboard.o pixmaps.o remote.o
 rox_gettext.o run.o support.o sc.o session.o toolbar.o type.o usericons.o
 -R/usr/X11R6/lib -R/usr/pkg/lib -R/usr/pkg/lib
 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0
 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lintl
 -R/usr/pkg/lib
 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
 -R/usr/pkg/lib
 -lxml2 -lz -liconv -lm -lICE -lSM -lgcc -lc -lgcc
 /usr/lib/crtend.o

Still no request for libX11.
As expected 'objdump -p /usr/lib/crtend.o' gives no info (just file format).

	David

-- 
David Laight: david@l8s.co.uk