Tiny Core Extensions > TCE Talk

qt4 extension newer version?

<< < (2/2)

helander:
Below you will find the instructions I used to build a qt4 tce. You need to do the following before the instructions are applied.

1 create am empty build directory and cd to it.
2 create an src subdirectory and place the qt-all-opensource-4.4.3.tar.gz (or whatever version you will build) in that directory.
3 create a tce subdirectory (this is where the resulting .tcel will be placed)



--- Quote ---tar zxf src/qt-all-opensource-src-4.4.3.tar.gz
cd qt-all-opensource-src-4.4.3
./configure --prefix=/usr/local -release -nomake examples -nomake demos -nomake docs
make
touch /tmp/mark-qt4
sudo make install
find /usr/local -newer /tmp/mark-qt4 -not -type d >filelist
find /usr/local/include/Q* >>filelist
tar czvf ../tce/qt4.tcel --numeric-owner -T filelist
advdef -z4 ../tce/qt4.tcel
md5sum ../tce/qt4.tcel > ../tce/qt4.tcel.md5.txt

--- End quote ---

Hope this helps.

^thehatsrule^:
Using CFLAGS and CXXFLAGS for optimizer flags would be great as well (see wiki page on creating extensions)

Jason W:
Also remember to strip libraries and executable binaries.  Here is an easy way to do that if you make install into pkg

--- Code: ---# find pkg | xargs file | grep "executable" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

# find pkg | xargs file | grep "shared object" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip -g 2> /dev/null

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version