Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: aus9 on May 12, 2010, 07:25:57 AM
-
Hi
I do not normally compile stuff as I come from the land of deb files.
Those export commands....eg
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
Do I need to issue this every time I compile something or will it be remembered somewhere.
If remembered, where do I look to see if it has persisted over reboots?
any clues will be greatly appreciated.
regards
gordy
-
Do I need to issue this every time I compile something or will it be remembered somewhere.
If you do everything from the same terminal window, it will be remembered as long as the terminal window stays open. If you close the terminal window and open another one, you will need to enter the command again.
-
If you want them to be permanent, put them to ~/.ashrc
-
hi guys
thats what I was looking for.
thanks
2) Now I am looking at my tce persistent folder
bash does not show up in onboot.lst but is in my optional list.
I am not sure what package pulled in bash, it is not a depend of compiletc and binutils has no depends
Should I add it to .bashrc as well?
-
If you run bash as your shell; otherwise no need really.
-
I think .profile may be read if .bash_profile doesn't exist, depending on how you invoke bash. It's the easiest to just try it out (or refer to their docs).
-
thanks
Trivia.....what shell am I using
http://www.notesbit.com/index.php/scripts-unix/linux-unix-how-do-i-know-which-shell-i-am-using/
my results
echo $shell
tc@box:~$ echo $0
/bin/sh
tc@box:~$ ls -al /bin/sh
lrwxrwxrwx 1 root root 7 May 14 06:53 /bin/sh -> busybox
tc@box:~$ ps -p $$
PID TTY TIME CMD
5393 pts/0 00:00:00 sh
so I am assuming that as I have link to busybox....I am not using bash so must still be ash.