Sublime Forum

Build a project with a compiler via wine

#1

Hello,

I am creating scripts written in a language which only has a compiler that works for windows (it has an .exe). I can run the compiler in the terminal via wine, but wonder whether I can do this in sublime text by pressed F5 or CTRL + B.

This is what I have right now:

{
	"cmd": ["wine pawncc.exe", "$file", "-o$file_path/$file_base_name", "-;+", "-(+", "-d3", "-Z"],
	"file_regex": "(.*?)\\(([0-9]*)[- 0-9]*\\)",
	"selector": "source.pwn",
	"working_dir": "home/projects/samp/pawno/"
}

This does not work. It says that it’s building, but produces no output.

0 Likes

#2

Try to split "wine pawncc.exe" into "wine", "pawncc.exe".

0 Likes

#3

I have and it doesn’t work either.

0 Likes