DSL Tips and Tricks :: easier way to compile stuff for DSL



They are hard links to each other. So delete both or just overwrite.

Your tactic was fine, why didn't you mention that before?

--host=i686..blah would make a gcc that only runs on 686. When using --host=i486--blah it will still know you are compiling on a 686 but compile for a 486..

Oh, and I believe people might just compile on a 486 :)
I compiled some on my i586 too..

Hmm - it's not so obvious that the hardlinks can be deleted:
Code Sample
$ ../glibc-2.3.2/configure --prefix=/opt/build --enable-shared --enable-add-ons --enable-kernel=2.4.26 --disable-static --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu --with-arch=i486

checking for i486-pc-linux-gnu-gcc... no
checking for i486-pc-linux-gnu-cc... no
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
configure: error:
*** These critical programs are missing or too old: gcc

Unless I make a symlink gcc -> i486-pc-linux-gnu-gcc? (rather than leaving both gcc and  i486-pc-linux-gnu-gcc)

No need to delete them, though :)

Hard links take less space than symlinks..

Quote
Hard links take less space than symlinks..

-really? They show up as the same size (gcc = i486-pc-linux-gnu-gcc)  in emelFM...

Next Page...
original here.