SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 28/06/2018, 02:44 PM   #1
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,078
Reputation: 199
Default Plugins using x64 libraries

Hey there.

I'm working on my plugin and want to use a library which sadly does not support x86 on Linux. I was wondering what SA-MP's objections are to supporting x64. I know, PAWN will still be running in 32-bit mode as otherwise it would probably break existing scripts, but having support for x64 features/libraries for plugins would be rather nice.

I know supporting x64 involves more than just flipping a switch and probably involves quite a bit of work but I'm very interested in the reasoning it was never supported. (and if it ever will be supported)

I'm not really looking forward to hosting multiple processes (samp-server in x86 more and a host process in x64)
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in G00GLE MAPS! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 28/06/2018, 02:53 PM   #2
CoaPsyFactor
Gangsta
 
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 900
Reputation: 52
Default Re: Plugins using x64 libraries

If I'm not wrong this is not possible, as SA-MP executable itself is 32bit, but again you might want to consult with someone that has more experience

Also check this thread on stackoverflow
__________________
Quote:
Originally Posted by ThaiLuan View Post
Code:
C:\Users\Administrator\Downloads\Viet-RP\gamemodes\3mien.pwn(112016) : fatal error 101: cannot write to file: "disk full"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Help me! How to fix error

Last edited by CoaPsyFactor; 28/06/2018 at 03:02 PM. Reason: added link to answer
CoaPsyFactor is offline   Reply With Quote
Old 28/06/2018, 03:06 PM   #3
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,078
Reputation: 199
Default Re: Plugins using x64 libraries

Quote:
Originally Posted by CoaPsyFactor View Post
If I'm not wrong this is not possible, as SA-MP executable itself is 32bit, but again you might want to consult with someone that has more experience

Also check this thread on stackoverflow
That's precisely what I'm asking: "what SA-MP's objections are to supporting x64?"


edit: I'm also looking into building the library in question for x86. The question in this thread is more out of interest than need.
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in G00GLE MAPS! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 28/06/2018, 03:55 PM   #4
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,985
Reputation: 3150
Default Re: Plugins using x64 libraries

There's no objection to it, it's just compiled as x86.
Y_Less is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Writing libraries with YSI Misiur Tutorials 2 03/02/2018 08:29 AM
host libraries PepsiCola23 Scripting Help 4 06/08/2015 02:55 PM
Do you use YSI Libraries? (Survey) Patrick Everything and Nothing 22 23/10/2013 01:04 PM
Image Drawing libraries in C++ SlashPT Everything and Nothing 8 26/12/2011 08:36 PM


All times are GMT. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.