From: pneyz Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP - How to link Binary Files in a Data File Date: Wed, 11 Feb 1998 09:16:13 -0800 Organization: Smoof Team Lines: 19 Message-ID: <34E1DCDD.26091E78@bethany.edu> References: <6bpnlr$gn2$1 AT duke DOT telepac DOT pt> NNTP-Posting-Host: scz-ca17-23.ix.netcom.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > Could someone please tell me how can I link all my binary data files in a > single ONE using DJGPP ?!?! I would like a more simple and atractive > solution instead of the old "copy /b ...+...+.." and modify the offsets in > the data reader !!! Instead, if someone can tell me how to link all those in > the .EXE file, would be fine too ! Get a binary to C converter. I've written one and it's easy to do what you're saying: bin2c binary.dat arrayname >> bin-data.c and just repeat for each binary file. If you want a copy of my program, email me and I'll send it to you. -- /* pneyz / Smoof Team pneyz AT bethany DOT edu "Fine Malt Coding" http://ns.bethany.edu/pneyz/ */