Should be able to find which gcc was used by checking LDPATH in the environment.bz2. I believe it is about the only gcc version information recorded in /var/db/pkg/<category>/<package>/ though.
Gordon Malm (gengor) On Monday, December 8, 2008 16:44:16 Federico Ferri wrote: > Hello, > today I hit this annoyance, because my laptop hung in the middle of an > 'emerge -e @world' (checking that my world set compiles with > gcc-4.3... stopped at ~ 300 of 700 :S ) > > I was looking for an entry in /var/db/pkg/<cat/pkg>/ that could have > told me the compiler used to build the package, but couldn't find any. > indeed it would be a fairly useful feature to have, both for testing > purposes, and for user's everyday maintenance. > > please criticize this with anything constructive you can think of. > > thanks