[cfe-dev] need help

Andy Somerville andy.somerville at gmail.com
Tue May 31 22:18:20 PDT 2011


On Wed, Jun 1, 2011 at 12:42 AM, Eric Christopher <echristo at apple.com> wrote:
>
> On May 31, 2011, at 8:15 PM, Andy Somerville wrote:
>
>> On Tue, May 31, 2011 at 6:41 PM, Eric Christopher <echristo at apple.com> wrote:
>>>
>>> On May 30, 2011, at 9:54 PM, Andy Somerville wrote:
>>>
>>>> System is ubuntu 11.04 (mistake in last post)
>>>>
>>>> crtbegin.o lives in /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/
>>>> or any of the 4.[45].x dirs as I have several version of gcc
>>>> installed.
>>>>
>>>
>>> That directory looks very very odd with both an i386-linux-gnu and an
>>> i686-linux-gnu. Is that the normal directory?
>>
>> It does look weird, but it's where it is, and I checked to make sure
>> it's where the package system says they should be, and it's correct.
>
> Hrm. OK. The clang sources believe they know where things might be at
> least for header files. I guess it's finding the headers, but just not
> the crt files?

Thats what it seems to me. Is there any other information I could
provide to solve the mystery?

I can just link by hand if this is not high on the priority list, but
it seems like something that needs fixing.

>
>>>
>>>> clang++ -v output you see in the post you replied to.
>>>>
>>>
>>> So there's already 11.04 support in clang for the platform. Have you
>>> installed multiple compilers over what is normally there or moved
>>> things around? AFAIK a generic install should work.
>>
>> All the gcc compilers are installed via the package manager. Clang was
>> installed via sources.
>>
>> I'm not sure what to make of it. I didn't do anything special when
>> configuring llvm/clang either.
>
> OK :)

Should I have? I had a thought that maybe I was supposed to pass a
string at configure time, or adjust a runtime configuration file.

Is there something I should edit to provide the info to the compiler?

>
> -eric
>



More information about the cfe-dev mailing list