From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org>, Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
Cc: | "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org> |
Subject: | Re: Build issue with Advance Toolchain |
Date: | 2017-05-26 16:39:56 |
Message-ID: | 03dba5ca-63e6-5e0f-f13c-ceddcee985e6@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
On 05/26/2017 07:24 AM, Devrim Gündüz wrote:
>
> Hi Adrian,
>
> On Fri, 2017-05-26 at 06:02 -0700, Adrian Klaver wrote:
>> 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
>
> Ah, right. Can we override the gcc there?
Have you looked at this:
"After completing the installation steps, the Advance Toolchain is ready
for usage. Just call the program directly, for example /opt/atX.X/bin/gcc.
However, some applications have complex build systems (for example:
autotool, make, cmake) in which is necessary to correctly set the
environment PATH, for example:
PATH=/opt/atX.X/bin:/opt/atX.X/sbin:$PATH make
On cmake build systems, it is also necessary to set the
CMAKE_PREFIX_PATH with AT's path, for example:
CMAKE_PREFIX_PATH=/opt/atX.X/
"
>
> Regards,
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Rice | 2017-06-06 14:22:37 | Import issue after PIP install |
Previous Message | Daniele Varrazzo | 2017-05-26 16:23:03 | Re: Build issue with Advance Toolchain |