Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/overhertz/domains/codeziron.com/public_html/ziron/ziron.db.connector.php on line 13 code:zIRON - Get the latest releases plus source-codes and tutorials - Simplifed Assembly Programming Language.
Register | Login
Forum Index > General Discussion > PECOFF for ziron2
Author Message
Pages: 1
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[1396] PECOFF for ziron2 - posted: 2014-04-13 22:34:14
Hi

as the title says, can you support coff obj for linking with gcc ld linker.

thanks.

http://www.freewebs.com/ogremagic/index.htm
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[1397] - posted: 2014-04-14 11:23:19
Check the changelog smile there is already an experimental implementation.

Code:
program MSCOFF 'test';


note with coff objects you should declare also the type of app you are building, so the includes can output correct code.

e.g.

Code:
program MSCOFF 'test';

#define APPTYPE_GUI;

#include 'win_def.zir';
#include 'console.zir';

//some test movs
Dword a,b,c;
a = 512;
b = 1024;
c = 2048;

//test messagebox
MessageBoxA(0, 'Test', 'Test', 0);

ExitProcess(0);


As I said the implementation is experimental and needs lots of testing, so if you have any problems, please let me know smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[1399] - posted: 2014-04-16 19:20:13
Hi Mr Colin,

actually the ld linker of gcc did not like MSCOFF.

i got that error when adding obj file produeced by ziron compiler with gcc stuff.

D:/MonkeyX\MinGW/bin/ld.exe: final link failed: File truncated
collect2.exe: error: ld returned 1 exit status


i think obj file for gcc is deffer from that for ms obj.

http://www.freewebs.com/ogremagic/index.htm
Emil_halim
Ziron Beta Tester

avatar

(send private message)

Posts: 638
Topics: 103

Location:
Alex, Egypt
[1400] - posted: 2014-04-16 19:29:05

with new version 2.0.0.9 and worked.

thanks.

if i will find any error i will post again.

http://www.freewebs.com/ogremagic/index.htm
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 1 user(s) online. 0 member(s) and 1 guest(s)
Most users ever online was 999, May 11, 2018, 9:01 am.


Statistics:
Threads: 223 | Posts: 1837 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2018 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd