apt-build and gcc issue

News and discussion about development of the Debian OS itself

apt-build and gcc issue

Postby WizardNoNext » 2008-05-09 06:56

I have one big problem. I do not know how to build gcc using apt-build.
I tried almost allthing, but still I can not build gcc.
The problem is not in building time, but I just do not know what I must tell to apt-build. I builded a lot of packages using apt-build, but still I can get building gcc (doesn't matter 3.3, 3.4, 4.1). If someone knows what I must tell to apt-build I will be happy.

I asking, because I building new distro, builded around Debian sources. This will have big optimalizations, so will be very fast (I have already glibc and some base-system related packages).
WizardNoNext
 
Posts: 2
Joined: 2008-05-09 05:54

Postby Telemachus » 2008-05-09 11:23

I'm having a vague chicken-egg issue here: you must have some version of gcc already if you have used apt-build at all, no? What exact error messages are you getting. Also, building a system inside a system gets a bit complex if you want the new toolchain to be "pure" of the old, non-optimized system. You might spend a little time reading through the Linux-From-Scratch book: http://www.linuxfromscratch.org/lfs/read.html
User avatar
Telemachus
 
Posts: 4677
Joined: 2006-12-25 15:53

Postby WizardNoNext » 2008-05-09 15:17

Unable to find source information for gcc at /usr/bin/apt-build line 482.

I tryied a lot of option like {gcc-4.1,4.1.1.ds2-21}, {gcc-4.1,4.1.1.ds2}
and many many others.
So I using command line like 'apt-build --rebuild --reinstall install {gcc-4.1,4.1.1.ds-21}'.
WizardNoNext
 
Posts: 2
Joined: 2008-05-09 05:54


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable