[Scons-users] Scons TryRun method fails during cross compilation

raaj lokanathan raaj5671.rl at gmail.com
Tue Jun 16 20:42:39 EDT 2020


Hi Bill,

However, using Apertis Pro-environment, I was able to cross-compile
building the gpsd library using scons.

On Wed, 17 Jun 2020 at 01:36, Bill Deegan <bill at baddogconsulting.com> wrote:

> Raaj,
>
> You're cross compiling right?
> So any  produced binaries shouldn't run on the host machine?
> If so, it shouldn't be a surprise that TryRun will fail.
>
> Or am I misunderstanding the issue you're talking about?
> -Bill
>
> On Tue, Jun 16, 2020 at 2:01 AM raaj lokanathan <raaj5671.rl at gmail.com>
> wrote:
>
>> Hi,
>>
>> I am having issue to compile my gpsd library. My code fails when it
>> checks for the sizeof_time_t in the sconstruct.  Basically it's a simple
>> program inside sconstruct which create a small .c program.
>>
>> From my observation I found out that the code fails in the TryRun.  It
>> supposed to return the value but then now it returns an empty string.
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>


-- 
Thanks and regards,

Raaj Lokanathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200617/ee706841/attachment.html>


More information about the Scons-users mailing list