4.9 Testing Request - RESOLVED

Robert S. Grimes rsg at alum.mit.edu
Thu Sep 18 18:35:12 UTC 2008


>
> On Wed, 2008-09-17 at 21:11 -0400, Robert S. Grimes wrote:
>   
>>  /usr/bin/install -c -m 644 'libposix.a'
>> '/usr/rtems/4.9/powerpc-rtems/virtex/lib/libposix.a'
>>  powerpc-rtems-ranlib '/usr/rtems/4.9/powerpc-rtems/virtex/lib/libposix.a'
>> /bin/bash: line 4: powerpc-rtems-ranlib: command not found
>>     

Here's the hint - this is how I called make:

  $ sudo make install

However, this is how I set the PATH:

  $ export PATH=/usr/rtems/4.10/bin:${PATH}

So this is the correct way:

  $ export PATH=/usr/rtems/4.10/bin:${PATH} make install

I was confused by the earlier success of the BSP building (i.e. make 
all), which of course was using my regular user account, and hence could 
see the tools...

Sorry about that - it's going on the wiki - when it comes back on-line, 
that is!

Bob

>   
>> Seems it can't find powerpc-rtems-ranlib, yet it does exist, and in the
>> same directory as the other tools, so the path is correct.  Any ideas?
>>     
>
> Which --target did you pass to configure?
>
> powerpc-rtems-ranlib indicates you to have used --target=powerpc-rtems
>
> This should be --target=powerpc-rtems4.9 (to use the powerpc-rtems4.9
> toolchain) rsp. --target=powerpc-rtems4.10 (to use the powerpc-rtems4.10
> toolchain).
>
> Background: Somewhat oversimplified, the TARGET specified in
> --target=TARGET is the toolchain prefix of the toolchain to be used.
>
> Ralf
>
>
>
>   




More information about the users mailing list