From: Geoffrey F. <fu...@ga...> - 2002-09-02 16:23:18
|
HI, I'm documenting this to the list mainly so we don't forget it. This may be something that falls on me, but since there's been a lot of work on the config system lately, and since I /thought/ I had this working in the past, I'll post it here: I did a full build, then: [furnish@dhcp-814-13 tmp]$ touch xwin.c [furnish@dhcp-814-13 tmp]$ make -n gcc -fPIC -c -O -I. -I/home/furnish/xenon/include -MD -MF shared/.d.xwin -MP -c xwin.c -o shared/xwin.o gcc -shared -fPIC -o drivers/xwin_drv.so shared/xwin.o -L/home/furnish/xenon/lib -ltcl8.3 -ltk8.3 -L/usr/X11R6/lib -lX11 -L. -lplplottcltk -Wl,-rpath -Wl,/home/furnish/devel/plplot/tmp [furnish@dhcp-814-13 tmp]$ make gcc -fPIC -c -O -I. -I/home/furnish/xenon/include -MD -MF shared/.d.xwin -MP -c xwin.c -o shared/xwin.o gcc -shared -fPIC -o drivers/xwin_drv.so shared/xwin.o -L/home/furnish/xenon/lib -ltcl8.3 -ltk8.3 -L/usr/X11R6/lib -lX11 -L. -lplplottcltk -Wl,-rpath -Wl,/home/furnish/devel/plplot/tmp The make -n made me suspicious, the make confirmed it. Dependencies are only firing for shared things, not for static (non -fPIC) build products. What is supposed to happen is that both xwin.o's should be produced, and the static lib rebuilt, etc. -- Geoffrey Furnish fu...@ga... |