I would like to rebuild g++ with my own specific settings.
Here is what I did so far:
sudo aptitude install build-dep g++-4.2
mkdir trial && cd trial
apt-get source g++-4.2
Now I want to configure my specific settings. For g++ this is normally done by e.g.
sh configure --prefix=/home/voku/testing
But unfortunately there is no configure script inside the download directory (and also no configure.ac).
Are there additional steps that I need to get the configure script?
What I am actually looking for is a way to say:
- get the source
- apply all the patches you like
- make that whole stuff ready to build
EDIT: I have also asked on stackoverflow - but nobody seems to know that
EDIT: Probably I could run one of the tools that actually create the .deb package for g++.
Afterwards - that's what I assume - there will be the needed configure script.
But that sounds awful:
- build the g++ .deb package
- cleanup the whole stuff again
- then use the generated configure script with my own options
- then build again