flat assembler
Message board for the users of flat assembler.

Index > Linux > Replacing gcc with FASM...

Author
Thread Post new topic Reply to topic
flatterman



Joined: 08 Aug 2006
Posts: 1
flatterman 08 Aug 2006, 02:51
On another board a comment caught my eye:

Quote:
This is an ongoing issue for me: the Linux build requires gcc because that is the only way I can get the program to link properly with libdl.so (required for dynamic linking - Linux doesn't have dlopen/dlsym in the kernel sad )


The details are beyond me, but can anyone show how FASM can do this?
Post 08 Aug 2006, 02:51
View user's profile Send private message Reply with quote
Quantum



Joined: 24 Jun 2005
Posts: 122
Quantum 08 Aug 2006, 15:46
You can use FASM + LD or generate a static exe directly in FASM. The latter is not very convenient because a real app in Linux whould require LIBC, a GUI lib, etc. and you'll need a linker and an interpreter to use shared objects.
Post 08 Aug 2006, 15:46
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.