flat assembler
Message board for the users of flat assembler.

Index > Linux > How is resource section made

Author
Thread Post new topic Reply to topic
Fixit



Joined: 22 Nov 2012
Posts: 161
Fixit 26 Mar 2013, 17:05
I assembled the planets.asm

How is the resource section made ?

Thanks.

Code:

data import
  include '%finc%/win32/allimports.asm'
end data


data resource from 'resources/planets.res'
end data                                              
    
Post 26 Mar 2013, 17:05
View user's profile Send private message Reply with quote
randall



Joined: 03 Dec 2011
Posts: 155
Location: Poland
randall 26 Mar 2013, 17:31
This is a Linux section...
Post 26 Mar 2013, 17:31
View user's profile Send private message Visit poster's website Reply with quote
Fixit



Joined: 22 Nov 2012
Posts: 161
Fixit 26 Mar 2013, 22:33
It's supposed to be a Linux program made by FreshIDE.

Andy
Post 26 Mar 2013, 22:33
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 27 Mar 2013, 05:59
There is no resource sections in ELF executables (Linux programs). You better describe what you want to achieve. Generally I would suggest using FreshLib, and this way make your program portable for both Linux and Windows. But FreshLib still has limited functionality and it is not suitable for all programs right now.

BTW, planets.asm is not Linux program. It is Windows program.
BTW2, in FreshIDE you better open and compile the project file - planets.fpr because there are some compiler settings in the project file.
Post 27 Mar 2013, 05:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Fixit



Joined: 22 Nov 2012
Posts: 161
Fixit 27 Mar 2013, 12:50
Thanks.
Post 27 Mar 2013, 12:50
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.