[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build GCC for a specific machine using pbuilder?



Mikhail Morfikov wrote:

> I know, but have you ever seen the debian/ dir in the gcc sources? Take a
> look here[1].
> 

Until now I have not, but what is exactly the problem?

You have what you need in the beginning

include debian/rules.defs
include debian/rules.unpack
include debian/rules.patch

control: $(control_dependencies)
        -mkdir -p $(stampdir)
        $(MAKE) -f debian/rules.conf $@

configure: control $(unpack_stamp) $(patch_stamp)
        $(MAKE) -f debian/rules2 $@

all the rest is supplementary

so now you want to change the configuration and have a look at debian/rules2

It is more complicated, but I still don't understand what you expect here. 

If you know what you want to do with configure, then you can trash this and
create your own simple version.




Reply to: