cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/11/11:00:20

Date: Mon, 11 Aug 1997 17:00:25 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Subject: Re: Bin2obj for DJGPP?
To: west AT grub01 DOT physto DOT se (Tobias Westerblom)
Cc: djgpp AT delorie DOT com
Message-id: <01IMBK4971II8WVYK0@mail>
Organization: RWTH Aachen, III. physikalisches Institut B
Newsgroups: comp.os.msdos.djgpp

In article <33eef535 DOT 630416 AT news DOT su DOT se> you wrote:
> How can I make a binary file to a DJGPP object file? For Borland ther
> is Bin2obj (binobj) wich converts a binary file to a object file.
> Please help me!

(I'm posting this off the top of my head, so some details may be
incorrect...):

In DJGPP, there's a vaguely similar utility: bin2h. It will convert
your binary file to a .h file defining an initialized string variable
holding your data. You #include that in a .c file, compile it, and
there you are. For details, see 'info util bin2h' (spelling?).


HBB

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019