How did you know that? do `ls -la /usr/bin/g++*`
I'm almost sure that you can have multiple versions of gcc installed
without a problem ... I don't know if this caused the problem...


On Sun, Mar 3, 2013 at 5:03 PM, Anthony Gutierrez <atgut...@umich.edu>wrote:

> No. The only version of g++ I have now is:
>
> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
> 5658) (LLVM build 2336.11.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Anthony Gutierrez
> http://web.eecs.umich.edu/~atgutier
>
>
> On Sat, Mar 2, 2013 at 10:38 PM, Hossein Nikoonia <nikoo...@gmail.com>wrote:
>
>> I did this in Lion without a problem. Maybe you have multiple versions of
>> gcc and that is confusing ...
>>
>>
>> On Sat, Mar 2, 2013 at 10:34 PM, Anthony Gutierrez <atgut...@umich.edu>wrote:
>>
>>> Hm... I've seen the previous posts from you and Ali about compiling on
>>> OS X. When I started, I tried installing swig/hg/scons/python from
>>> macports, along with the latest Xcode and command line tools, this setup
>>> didn't work with llvm or clang. My versions match up, not sure why it isn't
>>> working. I'll have to start fresh and double check everything.
>>>
>>>
>>> Anthony Gutierrez
>>> http://web.eecs.umich.edu/~atgutier
>>>
>>>
>>> On Sat, Mar 2, 2013 at 1:57 PM, Andreas Hansson <andreas.hans...@arm.com
>>> > wrote:
>>>
>>>>  Hi Tony,
>>>>
>>>>  I use Xcode 4.6, and clang/clang++ as the default compiler (clang
>>>> 3.2svn).
>>>>
>>>>  In addition to that, I use python 2.7, swig, mercurial, scons etc
>>>> from macports. It works without any issues out of the box. As Ali pointed
>>>> out, the llvm-gcc (just gcc) that comes with Xcode also works fine.
>>>>
>>>>  Andreas
>>>>
>>>>   From: Anthony Gutierrez <atgut...@umich.edu>
>>>> Reply-To: gem5 users mailing list <gem5-users@gem5.org>
>>>> Date: Saturday, 2 March 2013 16:21
>>>> To: gem5 users mailing list <gem5-users@gem5.org>
>>>> Subject: Re: [gem5-users] Compiling on OS X 10.8.2
>>>>
>>>>  I tried clang, it also has linker errors. I'll try to figure out why
>>>> the llvm compiler that comes with my Xcode isn't working.
>>>>
>>>>  Thanks,
>>>>
>>>>
>>>> Anthony Gutierrez
>>>> http://web.eecs.umich.edu/~atgutier
>>>>
>>>>
>>>> On Sat, Mar 2, 2013 at 10:50 AM, Ali Saidi <sa...@umich.edu> wrote:
>>>>
>>>>> HI Tony,
>>>>>
>>>>>  I'm running 10.8.2 and didn't install gcc via macports. I installed
>>>>> the command line Xcode only. With that I can compile with g++ (which is a
>>>>> modified version of 4.2). Somehow this version passes the check and
>>>>> compiles even though normal gcc wouldn't (I believe because of the llvm
>>>>> backend).
>>>>>
>>>>>  I also use clang and clang++ which work fine.
>>>>>
>>>>>  For python I use the native python and installed scons and mercurial
>>>>> to work with it.
>>>>>
>>>>>  Thanks,
>>>>> Ali
>>>>>
>>>>>
>>>>>   On Mar 1, 2013, at 10:24 PM, Anthony Gutierrez <atgut...@umich.edu>
>>>>> wrote:
>>>>>
>>>>>   Hi All,
>>>>>
>>>>>  I'm a Mac noob and I'm trying to get gem5 working on OS X 10.8.2. I
>>>>> was hoping one of the devs who use Mac could give a more detailed
>>>>> explanation of how to get it working for Mac. Here is my current 
>>>>> situation:
>>>>>
>>>>>  Mac OS X 10.8.2 with Xcode 4.6 and command line tools.
>>>>> Installed the following from MacPorts:
>>>>>
>>>>>  scons 2.2.0
>>>>> python 2.7.3
>>>>> gcc  4.7.2_2 (got gcc47 from MacPorts because scons complains that
>>>>> Xcode version is too old, 4.2 I think)
>>>>> swig 2.0.9
>>>>> hg 2.5.1
>>>>> m4 1.4.6
>>>>> zlib 1.2.7
>>>>>
>>>>>  When I try to build, it compiles fine, but when it gets to the
>>>>> linking stage it fails with: g++: error : -fuse-linker-plugin not 
>>>>> supported
>>>>> in this configuration. I tried installing binutils 2.21 to see if its
>>>>> linker would work, it did not. I removed -fuse-linker-plugin from the
>>>>> SConstruct and it compiled and linked ok but now I get the same error seen
>>>>> here: http://www.mail-archive.com/gem5-users@gem5.org/msg06632.htmlif I 
>>>>> simply run ./build/ARM/m5.fast configs/example/fs.py. Any help would
>>>>> be appreciated.
>>>>>
>>>>>  Thanks,
>>>>> Anthony Gutierrez
>>>>> http://web.eecs.umich.edu/~atgutier
>>>>>    _______________________________________________
>>>>> gem5-users mailing list
>>>>> gem5-users@gem5.org
>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gem5-users mailing list
>>>>> gem5-users@gem5.org
>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>>
>>>>
>>>>
>>>> -- IMPORTANT NOTICE: The contents of this email and any attachments are
>>>> confidential and may also be privileged. If you are not the intended
>>>> recipient, please notify the sender immediately and do not disclose the
>>>> contents to any other person, use it for any purpose, or store or copy the
>>>> information in any medium. Thank you.
>>>>
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> gem5-users@gem5.org
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to