Hi
Firstly I can see this page
http://wiki.tinycorelinux.com/Creating+Extensions1)
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" export LDFLAGS="-Wl,-O1"
O 0...I can see its Ohh and not zero in above
-WI,-O1..... I think is W eye....Ohh one
Also according to my eyesight, there is no gap after the comma.....is that corrrect?
Do you agree that 0 above are all Ohhs and not zeros?
EDIT...the Wl now in the forum looks like whiskey lima (l in lower case)...I am confused more...heh heh
2) cd package_name ./configure --prefix=/usr/local make -j3
should that be cd package_name ./configure --prefix=/usr/local && make -j3 or separate lines?
3)
find . | xargs file | grep "executable" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip -g 2> /dev/null
Where am I....what pathway ...pwd when I issue above command please?
4) section 5. Adding Custom Startup Scripts
should that example include
#/bin/sh if its a script or is just straight commands ok as per eg
cd /usr/local/etc/
5) Once I know I am willing to add more explanation to the wiki.
You can guess I don't do much compiling and when I do...I have never needed to do flag stuff.
thanks in advance
PS I want to add some of that flag stuff to my .ashrc....so I want to get it right.
PS2...I am typing some of this stuff manually....as I am doing stuff in a virtual machine
.....once I get the .ashrc correct ....I can copy that into the vm