Re: Multiple gcc

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

 



Brian Truter wrote:
Is it possible to install multiple gcc packages on Fedora?

I am using gcc 4.4 from Fedora 11, but I would also like to install 4.3 from Fedora 10, and switch compiles when needed by setting env variables, or something similar. Is this possible, and if so, does anyone have any info?

Using the compiler is moderately, there's an option to gcc to use another version, the executables are in /usr/lib/... IIRC. The problem I have run into is that the header files aren't properly separated, and you have to get the 4.3 headers, plus the kernel headers, off into some directory you can use with -I to get correct behavior. I have some old code which uses vararg and won't compile under current tool chains. After a lot of hassle I just keep a VM with FC4 or so running to use the app. I have source, but it's 10's of k of someone else's code, and I have no incentive to convert it.

Note that you are probably lucky and can happily use the default headers. If you are really lucky you can
  "yum list compat*"
and there will be an old compiler available for you at the right level. I haven't looked.

--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux