Re: GCC help
On Thu, 23 Oct 2008 14:26:40 +0100 Bruce Cran <[EMAIL PROTECTED]> wrote: [snip] >Can't you set $CC to gcc44 or whatever to make the ports system use a >different version of gcc? UNTESTED: in /etc/make.conf file: CC=/usr/local/bin/gcc44 -- Jerry [EMAIL PROTECTED] It doesn't matter whether you win or lose -- until you lose. signature.asc Description: PGP signature
Re: GCC help
RW wrote: On Wed, 22 Oct 2008 10:07:09 -0400 Victor Farah <[EMAIL PROTECTED]> wrote: I was wondering how I would update gcc to version 4.2? I'm not sure I can just do a portupgrade gcc ?? If you install a later version of gcc it won't automatically get used because the port will use the base-system version. Can't you set $CC to gcc44 or whatever to make the ports system use a different version of gcc? -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GCC help
On Wed, 22 Oct 2008 10:07:09 -0400 Victor Farah <[EMAIL PROTECTED]> wrote: > I was wondering how I would update gcc to version 4.2? > I'm not sure I can just do a portupgrade gcc ?? If you install a later version of gcc it won't automatically get used because the port will use the base-system version. I've seen this warning previously and it's never caused a noticeable problem for me. If it were serious, I imagine the maintainer would have configured it to use a minimum gcc port version. If it bothers you, the most sensible thing would be to upgrade to 7.1 when it's released ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GCC help
On Wed, 22 Oct 2008 10:07:09 -0400, Victor Farah <[EMAIL PROTECTED]> wrote: > I was wondering how I would update gcc to version 4.2? > I'm not sure I can just do a portupgrade gcc ?? The GCC available from ports can be installed "next to" the GCC that comes with the system which, by the way, is 4.2.1 in FreeBSD 7. % cc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] If you need to install GCC of another version (e. g. 4.4), you can install it from the ports collection (e. g. lang/gcc44). If I remeber correctly, it is called as gcc44 then instead of cc / gcc. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
GCC help
Hello I'm trying to install ffmpeg and I'm getting this message: "Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. You may try recompiling using gcc >= 4.2." Now gcc -v gives me: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 I was wondering how I would update gcc to version 4.2? I'm not sure I can just do a portupgrade gcc ?? I'm relatively new to freebsd any help would be appreciated! :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"