Re: Scons TryRun method fails during cross compilation

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CGxBY4=h7TODaK4NUzOHZ+u21zZ1KMtk9U7wstbUjQWRw@mail.gmail.com>
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 <[email protected]>
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 <[email protected]>
> 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 <[email protected]>
>> 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
>>> [email protected]
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>> _______________________________________________
>> Scons-users mailing list
>> [email protected]
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
>
> --
> Thanks and regards,
>
> Raaj Lokanathan
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.