OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:55 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Sun Feb 13, 2011 11:39 am 
Offline

Joined: Sat Feb 12, 2011 11:23 am
Posts: 4
Thanks, B.zaar for the reply.

Quote:
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 :oops: .
Thanks:)


Top
 Profile  
 
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Sun Feb 13, 2011 2:00 pm 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
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)
Code:
make install

This is the complete build.

If you get an error like this:
Code:
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

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Sun Feb 13, 2011 4:54 pm 
Offline

Joined: Sat Feb 12, 2011 11:23 am
Posts: 4
Thanks,
Ghar,
I'm really just having trouble navigating to the c:\src\hexed, from mingw :? .
How do..? #-o
Otherwise, things look okay, here, :wink: .

Edit, yeah, yeah found =D> :roll: :lol:
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.


Top
 Profile  
 
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Sun Feb 13, 2011 5:20 pm 
Offline

Joined: Sat Feb 12, 2011 11:23 am
Posts: 4
:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

WOOOO- ooo- Hoo hooo!

A little app's just appeared!!!

(++ emotions )

While I was "struggling" with Mingw, I was thinking, Thank this guy afterwards, for putting me back to exploring Mingw.
Yeah, I do thank you!

'Hat's very very cool:)


Top
 Profile  
 
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Mon Mar 14, 2011 2:31 am 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
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

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
 Post subject: Re: hexed - command line hexadecimal file editor
PostPosted: Wed May 07, 2014 9:50 pm 
Offline
Member
Member
User avatar

Joined: Wed May 21, 2008 4:33 am
Posts: 294
Location: Mars MTC +6:00
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

_________________
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group