Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
Rugxulo

Homepage

Usono,
02.11.2010, 00:03
 

ObjConv 2.10 (Announce)

On 25 Sep. 2010, Agner released ObjConv 2.10.

Website: http://www.agner.org/optimize/#objconv
Download: http://www.agner.org/optimize/objconv.zip
Manual: http://www.agner.org/optimize/objconv-instructions.pdf

It's written in C++, GPL-licensed, and a quick try by me seems to show it compiling correctly under DJGPP. (Untested if default Win32 binary still runs under HX.)

RayeR

Homepage

CZ,
02.11.2010, 00:53

@ Rugxulo

ObjConv 2.10

> It's written in C++, GPL-licensed, and a quick try by me seems to show it
> compiling correctly under DJGPP. (Untested if default Win32 binary still
> runs under HX.)

I tried to compile under my DJGPP/GCC 4.4.4 but got error in one file:

mac2mac.cpp:159: error: prototype for 'int CMAC2MAC<TMAC_header, TMAC_segment_co
mmand, TMAC_section, TMAC_nlist, MInt>::NewSymbolIndex(int32)' does not match an
y in class 'CMAC2MAC<TMAC_header, TMAC_segment_command, TMAC_section, TMAC_nlist
, MInt>'
converters.h:432: error: candidate is: int CMAC2MAC<TMAC_header, TMAC_segment_co
mmand, TMAC_section, TMAC_nlist, MInt>::NewSymbolIndex(int)

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
02.11.2010, 01:35

@ RayeR

ObjConv 2.10

> > It's written in C++, GPL-licensed, and a quick try by me seems to show
> it
> > compiling correctly under DJGPP. (Untested if default Win32 binary still
> > runs under HX.)
>
> I tried to compile under my DJGPP/GCC 4.4.4 but got error in one file:

I tried again, first the smart way, then exactly from build.sh (well, I changed "g++" to "gpp"), and it still worked. And IIRC, there was a similar error from a much older ObjConv version that didn't work by default in DJGPP. So you're probably accidentally using that older version. Make sure it's dated Sep. 25 of this year.


c:\tmp\objconv [ DJGPP ] > gpp -dumpversion
4.44

c:\tmp\objconv [ DJGPP ] > dir opcodes.cpp
 Volume in drive C is PRESARIO
 Volume Serial Number is D0F6-6B74

 Directory of c:\tmp\objconv

09/25/2010  05:06 PM           400,998 opcodes.cpp
               1 File(s)        400,998 bytes
               0 Dir(s)  22,297,538,560 bytes free

c:\tmp\objconv [ DJGPP ] > sh -c "export CF='-s -O -mtune=i686' ; redir -t
gpp $CF -c *.cpp && redir -t gpp $CF *.o -o objconv.exe && objconv | sed 5q"
Elapsed time: 66.350 seconds (0:01:06.350)
Elapsed time: 2.420 seconds

Object file converter version 2.10 for x86 and x86-64 platforms.
Copyright (c) 2010 by Agner Fog. Gnu General Public License.

Usage: objconv options inputfile [outputfile]

c:\tmp\objconv [ DJGPP ] > an *.exe
Analyzer v1.36 by Boogie   Copyright (C) 1997 ESP Team
Files: c:\tmp\OBJCONV\*.EXE
-----------------------------------------------------------------
OBJCONV.EXE  DOS Exe - Overlay size: 626176
-----------------------------------------------------------------

c:\tmp\objconv [ DJGPP ] > dir *.exe
 Volume in drive C is PRESARIO
 Volume Serial Number is D0F6-6B74

 Directory of c:\tmp\objconv

11/01/2010  07:22 PM           628,224 objconv.exe
               1 File(s)        628,224 bytes
               0 Dir(s)  22,296,166,400 bytes free

c:\tmp\objconv [ DJGPP ] > scrndump

RayeR

Homepage

CZ,
02.11.2010, 12:00

@ Rugxulo

ObjConv 2.10

No, I just download it from your link, renamed build.sh to build.bat and change g++ to gpp. Thats all. I didn't compiled objconv before. Never mind, can you upload your binary?

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
02.11.2010, 15:24

@ RayeR

ObjConv 2.10

> No, I just download it from your link, renamed build.sh to build.bat and
> change g++ to gpp. Thats all. I didn't compiled objconv before. Never mind,
> can you upload your binary?

I even tried again with a fresh but minimal DJDEV 2.03p2, G++ 3.4.4, BNU 2.17, still worked. So it must be something on your end (shouldn't be too hard to reinstall DJGPP). But anyways, here's the build:

http://rapidshare.com/files/428495312/objconv-dj.zip

P.S. Drop.io is dead (go figure, nothing lasts).

RayeR

Homepage

CZ,
02.11.2010, 18:47

@ Rugxulo

ObjConv 2.10

> I even tried again with a fresh but minimal DJDEV 2.03p2, G++ 3.4.4, BNU
> 2.17, still worked. So it must be something on your end (shouldn't be too
> hard to reinstall DJGPP). But anyways, here's the build:

Thx. Maybe... I have djdev 2.04 but I don't compile C++ code very often so I don't know if it is 100% functional. I'm happy with non-object C :)

---
DOS gives me freedom to unlimited HW access.

DOS386

17.11.2010, 04:13

@ Rugxulo

ObjConv 2.10

> On 25 Sep. 2010, Agner released ObjConv 2.10

What's new:

??? :confused:

Bugs:

- Disassembly of PE hangs on large (> cca 100 KiB, even itself) files (both Win32 and DGJPP binary, also 2.09, it even hangs on Windaube XP too, hogging much of both CPU and memory)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

Back to the board
Thread view  Mix view  Order
22632 Postings in 2109 Threads, 402 registered users, 292 users online (0 registered, 292 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum