flat assembler
Message board for the users of flat assembler.

Index > Linux > DLL on Unix-like Operating System

Author
Thread Post new topic Reply to topic
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
Hi All,

I did not post since 2009, I think.

I downloaded the latest fasm version for Linux.
I use 64bit fork of Debian and 32bit Oracle Linux (very redhatish).
FASM, it is great tool as always and I appreciate the code examples included into this package. I am especially interested in dynamic usage of shared libraries on Unix-like Operating Systems.

The example "Hello world!" is worth to study but there are only two versions for i386 and 64_86 for dynamic linking and there is no other example how to implement dynamic loading.

I know Win32 assembly programming and if someone wants to share his/her knowledge by answer my post I kindly appreciate for that.

The comparison between Windows and Linux dynamic loading libraries is very welcome.

Best regards,

Harry

_________________
Microsoft: brings power of yesterday to computers of today.
Post 10 May 2013, 20:39
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 20:47; edited 1 time in total
Post 10 May 2013, 21:02
View user's profile Send private message Reply with quote
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
thanks a lot!

the "dlopen"/"dlsym" is the way.
I'd like to use libraries as a plugins, for example, for my custom media player, so linking in the middle of executing routine is not so good idea.

I catch the idea but I don't feel it.
The code example will be welcome.

_________________
Microsoft: brings power of yesterday to computers of today.
Post 10 May 2013, 21:27
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 23:05; edited 3 times in total
Post 10 May 2013, 22:33
View user's profile Send private message Reply with quote
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
Many thanks to you!
Quite lot of work was done.
best regards,
Harry

_________________
Microsoft: brings power of yesterday to computers of today.
Post 11 May 2013, 07:05
View user's profile Send private message Reply with quote
matefkr



Joined: 02 Sep 2007
Posts: 1291
Location: Ukraine, Beregovo
matefkr
well, there IS a linux section, but i mostly only check heap..
Post 15 May 2013, 05:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.