how long does it take to build gcc45?

Gabriele Kahlout gabriele at mysimpatico.com
Mon Dec 6 04:35:40 PST 2010


On 6 December 2010 00:29, Ryan Schmidt <ryandesign at macports.org> wrote:

>
> On Dec 5, 2010, at 22:00, Gabriele Kahlout wrote:
>
> > I've uninstalled and installed and finally, in 3 hours gcc45 compiled.
>
> That sounds about right.
>
> > Now how do I install it?
>
> You just did. :)
>
> > I.e. how do I make it such g++ -v returns 4.5 and not 4.2?
>
> Ah, I see:
>
> > Sounds simple but my removing of g++ alias in usr/bin and replacement
> with a g++ that links to g++-mp-4.5 tells me that g++ is not executable.
> What was I supposed to do?
>
> Install the gcc_select port, then run gcc_select. It will manage the
> symlinks for you (though in ${prefix}/bin, not in /usr/bin; you should undo
> any changes you made in /usr/bin).
>
>
> Horray! (thank you!):

MacBook:bin simpatico$ sudo ./gcc_select -f mp-gcc45
Selecting version "mp-gcc45" for gcc
MacBook:bin simpatico$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.5.1/lto-wrapper
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.5.1/configure --prefix=/opt/local
--build=x86_64-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,fortran,java
--libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
--with-system-zlib --disable-nls --program-suffix=-mp-4.5
--with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking
--disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.1 (GCC)


-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101206/b0eef071/attachment.html>


More information about the macports-users mailing list