PECOFF for ziron2
Hi
as the title says, can you support coff obj for linking with gcc ld linker.
thanks.
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
Hi
as the title says, can you support coff obj for linking with gcc ld linker.
thanks.
http://www.freewebs.com/ogremagic/index.htm
Check the changelog :) there is already an experimental implementation.
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.
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 :)
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
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