Rockbox Development > Starting Development and Compiling

Cross compilers

<< < (2/3) > >>

007quick:
I will try that in about an hour or so! Thanks for the quick response!

GodEater:
That's the root profile (/etc/profile) - I wouldn't edit that at all, it will be overwritten the next time Mandriva decide to issue an update to it.

Just create yourself a .profile file in your home directory :  /home/"whatever your username is"

and put :


--- Code: ---#!/bin/bash
PATH=/usr/local/arm-elf/bin:$PATH
export PATH

--- End code ---

in it

007quick:
Ok, I tried makeing a .profile file with what you said but it didn't work.
I did find a .bash_profile file and I put your line into it but here it is with your stuff in. (It didn't work) Could someone look at it to see if it is correct or if this is even the right file to edit? Is there something else that I need to do after I edit it?
Thankyou
# .bash_profile

# Initialize keychain if needed
if [ -r $HOME/.ssh/identity -o -r $HOME/.ssh/id_dsa -o -r $HOME/.ssh/id_rsa ]; then
    if [ ! -d $HOME/.keychain ]; then
           keychain
        fi
fi

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
   . ~/.bashrc
fi

# User specific environment and startup programs

#!/bin/bash
PATH=/usr/local/arm-elf/bin:$PATH
export PATH

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

007quick:
I do beleive that I figured it out
Thankyou for all your help!

GodEater:
Care to enlighten us with what was wrong with our instructions ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version