Page 2 of 2
Re: hexed - command line hexadecimal file editor
Posted: Sun Feb 13, 2011 11:39 am
by yopla
Thanks, B.zaar for the reply.
Thanks, I'm glad it' seems useful.
Yep;)
Using mingw and Msys; In the past I tried to try these shells. I always ran in finding it alien
. (though I always liked the idea of Mingw, especially when x can be added:)).
Trying to compile your app, I went back to the mingw env. and maybe its more approachable than I thought in the past. But. I am finding compiling difficult.
'Nothing to be done for makefile' (it says). Well ,
I think there
Is something to be done
, for makefile. But I'm not finding a way.
Ok, this is not the topic about compiling, but can s.o help?
Btw, my mingw is in c:\mingw.. Where should I preferably put the hexed trunk?
And the INSTALL_PATH..? Is the path command from windows cmd, or is it from mingw environment?
I feel
.
Thanks:)
Re: hexed - command line hexadecimal file editor
Posted: Sun Feb 13, 2011 2:00 pm
by b.zaar
yopla wrote:Using mingw and Msys; In the past I tried to try these shells. I always ran in finding it alien . (though I always liked the idea of Mingw, especially when x can be added:)).
Trying to compile your app, I went back to the mingw env. and maybe its more approachable than I thought in the past. But. I am finding compiling difficult.
'Nothing to be done for makefile' (it says). Well , I think there Is something to be done , for makefile. But I'm not finding a way.
Ok, this is not the topic about compiling, but can s.o help?
Btw, my mingw is in c:\mingw.. Where should I preferably put the hexed trunk?
And the INSTALL_PATH..? Is the path command from windows cmd, or is it from mingw environment?
To start with download the latest source code from sourceforge (rev: 6). These have been updated to automatically use Msys settings and to set INSTALL_DIR to install to c:\apps\hexed (c:\Program Files is protected on newer version on Windows). The PATH variable is part of Windows, do a search on google to learn how to set this.
Put the source (trunk) into something like c:\src\hexed then run make from this directory. The hexed makefile will create the necesary directories and build the objects to c:\src\hexed\obj and the binary to c:\src\hexed\bin.
Run this command from c:\src\hexed (if trunk exists run it from c:\src\hexed\trunk)
This is the complete build.
If you get an error like this:
Code: Select all
make: uname: Command not found
Makefile:39: *** Binutils is required to compile this app. Stop.
You will need to set the Msys\bin directory in your Windows PATH environment.
Let me know how this works out.
Thanks,
B.ZaaR
Re: hexed - command line hexadecimal file editor
Posted: Sun Feb 13, 2011 4:54 pm
by yopla
Thanks,
Ghar,
I'm really just having trouble navigating to the c:\src\hexed, from mingw
.
How do..?
Otherwise, things look okay, here,
.
Edit, yeah, yeah found
Edit2:
Ok, got message: nothikng to be done, as before. (I)Try again.
Edit:
My bad, I was USING WRONG COMMAND.
Tried (As you said!) Make install.
Re: hexed - command line hexadecimal file editor
Posted: Sun Feb 13, 2011 5:20 pm
by yopla
Re: hexed - command line hexadecimal file editor
Posted: Mon Mar 14, 2011 2:31 am
by b.zaar
Hi, for those that are interested or are currently using hexed I've just updated another revision of hexed to include the move and word commands.
The move overwrite command was a bit of a curse to make so that it appeared logical what was happening with the file. If someone wants to take some time and test this I would appreciate any feedback on whether it works in a way that makes sense to them.
Thanks,
B.ZaaR
Re: hexed - command line hexadecimal file editor
Posted: Wed May 07, 2014 9:50 pm
by b.zaar
Hi, for those interested in using
hexed there was a bug in the Windows version with the 'r+b' file mode for fopen being ignored by MinGW. This has been fixed and the new version 0.2.2 is available
here