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

Bill Deegan bill at baddogconsulting.com
Wed Jun 17 12:59:27 EDT 2020


I have no idea what Apertis Pro-environment is.
If you're compiling binaries to architectures which aren't native, TryRun
would be expected to fail.
Did you check the config.log file?

On Tue, Jun 16, 2020 at 5:42 PM raaj lokanathan <raaj5671.rl at gmail.com>
wrote:

> 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
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200617/b328ddaf/attachment.html>


More information about the Scons-users mailing list