Re: Build issue with Advance Toolchain

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>, Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: Build issue with Advance Toolchain
Date: 2017-05-26 13:02:51
Message-ID: 2f689a52-0979-75ff-5e5a-5dd6b2693d15@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 05/26/2017 05:31 AM, Daniele Varrazzo wrote:
> On Fri, May 26, 2017 at 11:16 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
>> The problem is: Parts of the code honors CC variable, part of does not.
>>
>> Here is what I'm getting (see the difference between lines 1&2 and 3)
>
> Don't know anything specific about this toolchain. However the bad
> step is the linking, so it seems it compiles ok but links bad.

What I see is that in compiling it uses:

/opt/at10.0/bin/gcc

but when it gets to the linking it does:

gcc

which leads to:

unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1

>
> Do `python-config` --cflags and --ldflags return a sensible output?
>
> -- Daniele
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Devrim Gündüz 2017-05-26 14:22:24 Re: Build issue with Advance Toolchain
Previous Message Daniele Varrazzo 2017-05-26 12:31:28 Re: Build issue with Advance Toolchain