anon
anon

Reputation:

Using Debian tools for building g++

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/non-productive

But unfortunately I cannot find a configure or configure.ac script inside the download directory.

What I am actually looking for is a way to say:

Are there additional steps that I need to get the configure script?

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:

Upvotes: 1

Views: 631

Answers (2)

Charles Stewart
Charles Stewart

Reputation: 11837

Many of Debian's source packages are special packages that build .deb files, which should be built using dpkg-buildpackage. Cf. Apt Howto: Working with source packages.

Upvotes: 0

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798626

As always, read the INSTALL file to learn what steps you must take in order to build the code.

Upvotes: 1

Related Questions