Re: Using custom libs .a files

2021-04-28 Thread 'Sam Clegg' via emscripten-discuss
On Wed, Apr 28, 2021 at 3:30 PM Mehaboob kk  wrote:

> Hi Thomas,
>
> Thanks for your input, I was referring to the Using Libraries section here
> https://emscripten.org/docs/compiling/Building-Projects.html#using-libraries
>
>
>
 As Thomas says, you can't use native object files with emscripten, so you
don't need gcc at all.  All the instructions one that page refer to
building libraries with the emcc compiler.   When you use emcmake and
emconfigure it configures your project to use emcc rather than any
host/local compiler.

cheers,
sam

Thanks,
> Mehaboob
>
>
>
> On Wed, Apr 14, 2021 at 4:14 PM 'Thomas Lively' via emscripten-discuss <
> emscripten-discuss@googlegroups.com> wrote:
>
>> Hi Mehaboob,
>>
>> No, Emscripten cannot compile native objects or archive files to
>> WebAssembly. Perhaps what you saw was a reference to archive files
>> containing WebAssembly objects produced by Emscripten?
>>
>> Thomas
>>
>> On Wed, Apr 14, 2021 at 12:45 Mehaboob kk  wrote:
>>
>>> Hello All,
>>>
>>> I see that Emscripton allows to compile .a files to wasm. In order for
>>> this to work the .a file need to be originally compiled using gcc? if yes,
>>> any specific version to be compatible?
>>>
>>> Thanks,
>>> Mehaboob
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to emscripten-discuss+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "emscripten-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/emscripten-discuss/5-IfzGR_ioQ/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> emscripten-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EUz2Mkh3S1%2Bh7iGox2Pk3KZWOvMKOrr8a7sNSoZyG7rnw%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAO5iXcAPy%2BRLggy1p4mk7RRBQLh8WjZcUQ927D3XtFwk_JCuVw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-RZ6HqOs1ruqrqM%2BtkCaeJ2gQtYV6Rgk4kMyRw3Dxt%3Dw%40mail.gmail.com.


Re: Using custom libs .a files

2021-04-28 Thread Mehaboob kk
Hi Thomas,

Thanks for your input, I was referring to the Using Libraries section here
https://emscripten.org/docs/compiling/Building-Projects.html#using-libraries


Thanks,
Mehaboob



On Wed, Apr 14, 2021 at 4:14 PM 'Thomas Lively' via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> Hi Mehaboob,
>
> No, Emscripten cannot compile native objects or archive files to
> WebAssembly. Perhaps what you saw was a reference to archive files
> containing WebAssembly objects produced by Emscripten?
>
> Thomas
>
> On Wed, Apr 14, 2021 at 12:45 Mehaboob kk  wrote:
>
>> Hello All,
>>
>> I see that Emscripton allows to compile .a files to wasm. In order for
>> this to work the .a file need to be originally compiled using gcc? if yes,
>> any specific version to be compatible?
>>
>> Thanks,
>> Mehaboob
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to emscripten-discuss+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/emscripten-discuss/5-IfzGR_ioQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EUz2Mkh3S1%2Bh7iGox2Pk3KZWOvMKOrr8a7sNSoZyG7rnw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAO5iXcAPy%2BRLggy1p4mk7RRBQLh8WjZcUQ927D3XtFwk_JCuVw%40mail.gmail.com.


Re: Using custom libs .a files

2021-04-14 Thread 'Thomas Lively' via emscripten-discuss
Hi Mehaboob,

No, Emscripten cannot compile native objects or archive files to
WebAssembly. Perhaps what you saw was a reference to archive files
containing WebAssembly objects produced by Emscripten?

Thomas

On Wed, Apr 14, 2021 at 12:45 Mehaboob kk  wrote:

> Hello All,
>
> I see that Emscripton allows to compile .a files to wasm. In order for
> this to work the .a file need to be originally compiled using gcc? if yes,
> any specific version to be compatible?
>
> Thanks,
> Mehaboob
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAJZD_EUz2Mkh3S1%2Bh7iGox2Pk3KZWOvMKOrr8a7sNSoZyG7rnw%40mail.gmail.com.


Using custom libs .a files

2021-04-14 Thread Mehaboob kk
Hello All,

I see that Emscripton allows to compile .a files to wasm. In order for this 
to work the .a file need to be originally compiled using gcc? if yes, any 
specific version to be compatible? 

Thanks,
Mehaboob

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/ee46348f-db22-406d-b85d-7dae3aa57e8an%40googlegroups.com.