Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: book11 on May 30, 2018, 04:33:23 AM
-
i kown emelfm2 is available for tc86, but i want it work in tc64, so i try to downloaded the X86's tcz (emelfm2.tcz) intsall at corepure64 but fail. and i'm also trying to build emelfm2 from the source code, it's too many error for compile it (i'm not a programer),can somebody helpfor this ?
sorry for my poor english. :-[
-
Hi
Welcome to TC
Have you checked emelfm.build-dep (http://tinycorelinux.net/6.x/x86/tcz/src/emelfm/emelfm.build-dep)?
Note that you'll need to change the CFLAGS, CXXFLAGS.
Please refer to wiki (http://wiki.tinycorelinux.net/wiki:creating_extensions)
export CFLAGS="-mtune=generic -Os -pipe"
export CXXFLAGS="-mtune=generic -Os -pipe"
export LDFLAGS="-Wl,-O1"
-
Hi , polikuo, thanks for reply.
but i'm talking about emelfm2, which is not the emelfm or emelfm3, just 2.
-
Something like this should work:
tce-load -i compiletc gtk2-dev file-dev coreutils
cd emelfm2-0.9.1
find . -name Makefile.config -type f -exec sed -i 's/-O2//g' {} \;
make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX=/usr/local GTK2=1
sudo make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX=/usr/local GTK2=1 install
Edit: modified instructions above
-
emelfm2 posted - I prefer emelfm ;)