From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6600026910278811648 X-Received: by 2002:aa7:c415:: with SMTP id j21-v6mr267108edq.3.1536738176276; Wed, 12 Sep 2018 00:42:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:c985:: with SMTP id w5-v6ls625177edh.5.gmail; Wed, 12 Sep 2018 00:42:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaXbnW5/SiNOyyqnv/kKQRZLvkmVZGFF4mrywSDiaBV5k+c+NIEeapQFeMY1Twu6UT+UPVx X-Received: by 2002:a50:b1db:: with SMTP id n27-v6mr268813edd.10.1536738175895; Wed, 12 Sep 2018 00:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536738175; cv=none; d=google.com; s=arc-20160816; b=Z7BNn9qEyMXp4UbZnCe60PHGm/GjbnXBfwe2gK/NlZJ0t3LS1+QgwDZpLVhMhuR0fk k1umjTtrwhVeyiX482v+BnVhirKWC/Vtg0OfpEs9DnyQYU9oAZuf4vKUAdnwH1UJVHAm ZsKmEGMyXC2GLErybIqJsFJAo0lGEwGT8l1vc4RSnuEO94ZTj0vVMclKLBFxQfBk6YK6 z2N9xggao02oizo577O3GfWxb/SLGDAikZLqbs6uNor8w5Zx2HX8ZhTn9A/QDfBNbX2j iKkRMUMJ6o2/TMnc0t4aqvszJuOOWgzUKIP2x80ZWFOFwb14g9yLZ25pPNwj91kxXUQJ uMEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:cc:to :subject; bh=BsuFZZABx3avY4F/ubQ1WkniLufw5WiyuwdLM7Akw6w=; b=YJTwo01RtRJ0wCbbXrhM3KTwRrImu95FdAS5Zj9f68GhU7jIBt3h/Kw0F9vSJmz5Wt UuZAc8g09QRBU2GB3c9oolxe4+zyZi3hi5obg9iROXkfbs9BFHLzWd3MpKzxY5WB5502 R6gwWbbEaNXUioVng5NTvwmyUJC3SGTZP/zbD87jV9K+oZqsPvWzah88pGcgWATzaD0n C7aTkpC3XEUeXB0RfgnOZbBTwovmf2oWFfvBDJ8t4f1iZCRG5HTBl14viS8bD1XCwN1b dCzoCFXCu3OS3d/12o/D8uguWXlsCnQsaRDffoUUiAQms09sv20CyyvA+t+pi9Au+YHY I3jQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id b23-v6si17471edn.1.2018.09.12.00.42.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Sep 2018 00:42:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w8C7gkso001462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 12 Sep 2018 09:42:47 +0200 Subject: Re: SDK feedback To: Jan Kiszka Cc: isar-users References: <0480aa78-5c48-4194-8900-e1b17798b531@siemens.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: Date: Wed, 12 Sep 2018 10:42:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <0480aa78-5c48-4194-8900-e1b17798b531@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: YYzMEnVYREtd Hi Jan, On 09/11/2018 08:57 PM, Jan Kiszka wrote: > On 11.09.18 19:55, Jan Kiszka wrote: >> Hi Maksim, >> >> finally, I actually used the SDK on an ARM target, and it worked >> nicely! One question and one feature request, though: >> >> I did not do the chroot dance and rather looked for a way to use the >> cross compiler directly. And it /seems/ to work, at least for the >> trivial case: >> >> export LD_LIBRARY_PATH=/path-to-sdk/usr/lib/x86_64-linux-gnu/ >> sdk/usr/bin/arm-linux-gnueabihf-gcc --sysroot /path-to-sdk \ >>      -o hello hello.c >> >> Does this make sense, at least for the classic "I need a crosscompiler >> and the corresponding target libs" case? When will it start to break? Honestly I always played with chroot and never tried LD_LIBRARY_PATH approach in more complicated case, so I can't say which problems may pop up. > Forgot to state: my host was a SUSE 42.2. Nice to hear that it works under SUSE too (I only tried sdk on Fedora box). > >> >> >> And then I noticed that the deployed SDK image could be a bit slimmer, >> specifically by purging /var/cache/apt prior to packaging. Too lazy >> now to write my own patch. :) Got it ;) (I will prepare the patch). Thanks, Maxim. >> >> Thanks, >> Jan >> > > Jan > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov