~alpine/users

4 3

How to use Alpine for cross-compiling

Details
Message ID
<e5e7545d-72e3-0fc0-22b8-0afb3f803a7e@ice.csic.es>
DKIM signature
missing
Download raw message
Hi there,

We are developing a C++ library  and executables, but we are currently 
using several docker images and we would like to use only just one.

Would it be possible to use only Alpine Docker image to build the C++ 
library or executable and run it on other Linux distros such as Debian 
based or RedHat based ? If so, how could we do that?

I've checked the Alpine Documentation and I didn't find anything related 
in either FAQs or Tutorial and Howtos.

Thanks in advance,

-- 

Emilio Garcia Quintana
emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
*Software Engineer*
Tel: +34 93 737 97 88 <tel:0034937379788>
Ext: 933002 <tel:933002>

Campus UAB, Carrer de Can Magrans, s/n
08193 Cerdanyola del Vallés

ICE Logo

Institute of Space Sciences (CSIC-IEEC)
http://www.ice.csic.es <http://www.ice.csic.es>
Details
Message ID
<8153711f-f376-6ede-e75f-32db1dcb44f9@dereferenced.org>
In-Reply-To
<e5e7545d-72e3-0fc0-22b8-0afb3f803a7e@ice.csic.es> (view parent)
DKIM signature
missing
Download raw message
Hi,

On Mon, 17 May 2021, Emilio Garcia wrote:

> Hi there,
>
> We are developing a C++ library  and executables, but we are currently using 
> several docker images and we would like to use only just one.
>
> Would it be possible to use only Alpine Docker image to build the C++ library 
> or executable and run it on other Linux distros such as Debian based or 
> RedHat based ? If so, how could we do that?

You would need to use static linking for your executables.  It is not 
possible to build shared/dynamic libraries or executables that will work 
on GNU/Linux from the Alpine environment.

Ariadne
Details
Message ID
<f99c204f-3691-931d-8bc4-f88668f4b569@ice.csic.es>
In-Reply-To
<8153711f-f376-6ede-e75f-32db1dcb44f9@dereferenced.org> (view parent)
DKIM signature
missing
Download raw message
Hi Ariadne

Okay, I understood.

Thank you very much

Emilio Garcia Quintana
emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
*Software Engineer*
Tel: +34 93 737 97 88 <tel:0034937379788>
Ext: 933002 <tel:933002>

Campus UAB, Carrer de Can Magrans, s/n
08193 Cerdanyola del Vallés

ICE Logo

Institute of Space Sciences (CSIC-IEEC)
http://www.ice.csic.es <http://www.ice.csic.es>

On 5/17/21 1:12 PM, Ariadne Conill wrote:
> Hi,
>
> On Mon, 17 May 2021, Emilio Garcia wrote:
>
>> Hi there,
>>
>> We are developing a C++ library  and executables, but we are 
>> currently using several docker images and we would like to use only 
>> just one.
>>
>> Would it be possible to use only Alpine Docker image to build the C++ 
>> library or executable and run it on other Linux distros such as 
>> Debian based or RedHat based ? If so, how could we do that?
>
> You would need to use static linking for your executables.  It is not 
> possible to build shared/dynamic libraries or executables that will 
> work on GNU/Linux from the Alpine environment.
>
> Ariadne
Details
Message ID
<YKJdSb4oQ84QA2pQ@void>
In-Reply-To
<f99c204f-3691-931d-8bc4-f88668f4b569@ice.csic.es> (view parent)
DKIM signature
missing
Download raw message
On 21-05-17 13:24:47, Emilio Garcia wrote:
> Hi Ariadne
> 
> Okay, I understood.
> 
> Thank you very much
> 
> Emilio Garcia Quintana
> emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
> *Software Engineer*
> Tel: +34 93 737 97 88 <tel:0034937379788>
> Ext: 933002 <tel:933002>
> 
> Campus UAB, Carrer de Can Magrans, s/n
> 08193 Cerdanyola del Vallés
> 



No you don't understand. Go back to school and also learn posting 
etiquette while you're at it.
Details
Message ID
<786826-fbdf-94d9-c6f3-ba111d6e6a@dereferenced.org>
In-Reply-To
<YKJdSb4oQ84QA2pQ@void> (view parent)
DKIM signature
missing
Download raw message
Hello,

On Mon, 17 May 2021, doa379 wrote:

> On 21-05-17 13:24:47, Emilio Garcia wrote:
>> Hi Ariadne
>>
>> Okay, I understood.
>>
>> Thank you very much
>>
>> Emilio Garcia Quintana
>> emilio.garcia@ice.csic.es <emilio.garcia@ice.csic.es>
>> *Software Engineer*
>> Tel: +34 93 737 97 88 <tel:0034937379788>
>> Ext: 933002 <tel:933002>
>>
>> Campus UAB, Carrer de Can Magrans, s/n
>> 08193 Cerdanyola del Vallés
>>
>
>
>
> No you don't understand. Go back to school and also learn posting
> etiquette while you're at it.

Alpine has a Code of Conduct[1], which this message clearly violates. 
Please familiarize yourself with the Code of Conduct before posting to any 
Alpine list in the future.  Further violations will result in revocation 
of your abilities to post to Alpine lists.

Thanks.

Ariadne

[1]: https://alpinelinux.org/community/code-of-conduct.html
Reply to thread Export thread (mbox)