Ben Collins writes: > I would suggest something close to ditching calling ld directly, so that > the CC env can make things work smoothly. We need ld to do partial linking: ld -r -o SUBSYS.o foo1.o foo2.o ... We get the right ld to use with gcc -print-prog-name=ld but that does not pick up the right flags. I'm open for better ideas. -- Peter Eisentraut peter_e@gmx.net