From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,55a8252137b5ef97 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: Efficiently setting up large quantities of constant data Date: Thu, 16 Dec 2004 14:24:01 +0000 Message-ID: <2508656.W3VlADmtU1@jellix.jlfencey.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net DICYIJD2ZppFAUdBGVxPVQTVUMLPFy431vGvZMkdMsIAhBvUd7 X-Phone: +41 62 961 13 52 Xref: g2news1.google.com comp.lang.ada:6995 Date: 2004-12-16T14:24:01+00:00 List-Id: Dr. Adrian Wrigley wrote: > I presume this needs to be done at the linker stage, but I don't > see any options to link in non-object files. You could give "objcopy" a try. It can convert a binary file into an object file which could then be linked normally. See the man page for the --binary-architecture option. You just should be _very_ sure about what the binary file contains and how to map it onto the appropriate Ada-type(s). Vinzent.