Re: Build Fedora Core 6 gcc from src rpm on Fedora Core 9 with original options

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

 



Hi,
Thanks.
First, there is no compat-gcc with the exactly the same as Fedora Core 6.

Second, I want to be able to build modules for Fedora Core 6 on a
Fedora Core 9 machines.

I have installed a Feodra Core 6 kernel on a Fedora core 9 machine,

However, when building the module for FC6 on FC9, and trying to insmod
it on the FC6 machine,
I get an error telling it was built with the wrong gcc. So i want to
build the module with the Fedora Core 6 gcc.

Any ideas what should I do ?

Regards,
Mark


On Mon, Jun 16, 2008 at 4:35 PM, David C. Chipman <dchipman@xxxxxxxx> wrote:
> On Mon, 16 Jun 2008 10:48:28 +0300
> "Mark Ryden" <markryde@xxxxxxxxx> wrote:
>
>> Hello,
>>
>> I am trying to install and build gcc from src rpm.
>> I am installing it on Fedora Core 9, and I downloaded the gcc src rpm
>> of Fedora Core 6.
>> I want the default gcc to stay as it is (of Fedora Core 9); and that
>> side by side with it, there will be
>> gcc of Fedora Core 6, in a different path.
>>
>> So , this is what I did:
>>
>> gcc src.rpm and ran:
>> rpm -ivh
>> and then
>> rpmbuild -bp --target=x86_64 gcc41.spec (there are many pathces in
>> this source rpm)
>>
>> Now, under /usr/src/redhat/BUILD I have a folder named:
>> gcc-4.1.1-20061011
>>
>> I navigated there; I should run ./configure, but is there a way I can
>> know what are the options
>> for the configure which the gcc on FC6 was compiled with ?  There are
>> really many options and
>> I am afraid that if I will miss one, the when trying to build a
>> module /kernel/some other projects with the generated gcc, it will
>> give errors. (I have access to a machine on which FC6 with this gcc
>> runs; but is there a way I can know what
>> are the options gcc was compiled when this gcc rpm was build ? maybe
>> by some option to
>> rpmbuild --rebuild??)
>>
>> Any help will be appreciated.
>>
>> Regards,
>> Mark
>>
>
>        Hi Mark,
>
>                Why would you want the GCC package from Fedora Core 6?
> what about using the compat-gcc pacakge instead? Is that old enough for
> you?
>
>                        -David Chipman
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux