Re: print out %D spec

2014-01-25 Thread Perry Smith
Yea. I'm trying to smush this into a build process. The Ruby build process believes it knows how to set the internal libpath of the executables but it actually does not. It does not know what gcc knows and the end result is an executable that can not find libgmp.a. I was hoping to teach it R

Re: print out %D spec

2014-01-25 Thread Jonathan Wakely
On Jan 25, 2014 1:32 AM, "Perry Smith" wrote: > > I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs > shows me that link_libgcc goes to %D but it does not show me what %D > produces. Is there a way to get gcc to dump that out? > > Basically what I'm trying to do is fin

print out %D spec

2014-01-24 Thread Perry Smith
I think, a %D in a spec creates a list of -L/a/b/c -L/d/e/f. gcc -dumpspecs shows me that link_libgcc goes to %D but it does not show me what %D produces. Is there a way to get gcc to dump that out? Basically what I'm trying to do is find the list of library paths that GCC tells ld to use whe