[PLUG] Multiple compiler versions

Chris Jantzen chris at maybe.net
Wed Dec 17 14:39:02 UTC 2003


On Wed, Dec 17, 2003 at 02:29:17PM -0800, Rich Shepard wrote:
>   I know that I can have multiple versions of a library installed, and
> software that was built with a particular flavor will use that one when
> fired up. What about compilers?

Totally. You essentially only need the /usr/lib/gcc-lib. /usr/bin/gcc
itself is pretty much a "wrapper", but copying it along and renaming
it can be helpful to avoid the somewhat cumbersome command line
options to switch backends. Also note that a matching binutils set
would be helpful.

>   On my notebook gcc-3.2.3 is installed, but to compile the winmodem driver
> I need gcc-2.96 from Red Hat. Are there a couple of files I can copy from
> the RH 7.3 box to /lib on the Slackware box? If a build looks at
> /proc/version and sees that the kernel and modules were built against
> gcc-2.96, and finds such a version installed, will it use it and ignore the
> gcc-3.2.3 that is there?

The build is looking for specific versions? Why not just go into the
build scripts and have it skip that bit?

-- 
chris kb7rnl =->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20031217/ee82b15e/attachment.asc>


More information about the PLUG mailing list