Re: gcc install/upgrade question

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

 



bruce wrote:
hi...

a basic question.

fc6 comes with gc4.1 . i'm looking to test gc4.2, and would like to have a
parallel dev environment so i have both 4.1 and 4.2.

i'm trying to find pointers on what needs to be done, to make sure i don't
screw up the current 4.1 environment.

it appears that all i need to do is to set a prefix dir when i do the
initial configure.

 --./configure --prefix=/gcc42
 --make
 --make install

this appears to place everything under the gcc42 top level dir. however,
what will i need to do to actually be able to hook into the libs/objs
created by the gcc4.2 build. what will i have to insert into my paths, or
rather where should the information be placed.. in the bashrc/profile
files/etc...


The standard way in this case is to follow the supplier's advice:FSF in this case. It should install to /usr/local, well out of your way and defined by standards to be used this way.



pointers/sites on this would be helpful. haven't been able to find a good
site that walks through this...

once i test 4.2, i'll just rebuild, and rewrite gcc4.1. are there any issues
that i'm going to run into when i do that!

If the versions are in different locations, there is no problem at all. You'd choose the one you want by setting PATH appropriately.

You could even contemplate a virtual machine just for the occasion: over there, across the room, I have a 64-bit system running F8T3 for just this sort of thing.




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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