[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-4.6/gnat-4.6 complier driver question



On Thu, 2012-03-22 at 19:04 +0100, Ludovic Brenta wrote:
> Svante Signell writes:
> > In addition to the runtime problems the installing the built debs on
> > another computer and trying to compile an ADA program, the complier
> > driver does not find gnat1. How to correct/workaround this issue?
> 
> [snip]
> 
> To be honest, I'm baffled as I can't seem to pinpoint the problem
> despite the great amount of detail you provided.
> 
> Maybe running gcc-4.6 under strace on both machines and comparing the
> output might help?  Or maybe there is a small problem with symlinks; on
> my machine, /usr/lib/gcc/x86_64-linux-gnu/ contains:
> 
>   drwxr-xr-x 4 root root 4096 2012-03-14T23:41:42 4.6
>   lrwxrwxrwx 1 root root    3 2011-11-04T06:05:34 4.6.2 -> 4.6
>   lrwxrwxrwx 1 root root    3 2012-03-01T20:36:10 4.6.3 -> 4.6
> 
> Sorry I can't help more, hopefully that will steer you in the right
> direction.

Looks like I have the same links: (the problem was the same when
gcc-4.6.3 was installed. I downgraded to see if there was differences).
ls -l /usr/lib/gcc/i486-gnu/
total 12
drwxr-xr-x 4 root root 4096 Mar 22 14:36 4.4
lrwxr-xr-x 1 root root    3 Sep 16  2011 4.4.6 -> 4.4
lrwxr-xr-x 1 root root    3 Mar 14 01:01 4.4.7 -> 4.4
drwxr-xr-x 4 root root 4096 Mar 22 14:36 4.5
lrwxr-xr-x 1 root root    3 Sep 18  2011 4.5.3 -> 4.5
drwxr-xr-x 7 root root 4096 Mar 22 16:32 4.6
lrwxr-xr-x 1 root root    3 Nov 30 16:05 4.6.2 -> 4.6

Unfortunately strace is not available on GNU/Hurd. I don't think there
is any compatible tool available.


Reply to: