From wb2ztn at gmail.com Tue Jun 16 05:14:41 2009 From: wb2ztn at gmail.com (kurt godel) Date: Tue, 16 Jun 2009 08:14:41 -0400 Subject: [GEM Development] make,make install. Message-ID: <3889b5fe0906160514s6de4a08hebb1cb8583a98f6d@mail.gmail.com> Just to get this straight, I have djgpp, and therefore djgpp/bin; so, exactly what from opengem5 do I need to shovel into bin(I'm assuming it's bin); then inside bin I type make/make install? and when use make alone?. Also, I don't get the difference between gem app and gem desk accessory; i.e. why the latter doesn't work right with djgpp. I am very familiar with djgpp, especially in terms of c++, which means I am getting used to the terms of c, which can be different.--tnx,kurt--< wb2ztn at gmail.com>. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.simpits.org/pipermail/gem-dev/attachments/20090616/511fdc8d/attachment.html From topcatdrc at yahoo.com Tue Jun 16 08:18:40 2009 From: topcatdrc at yahoo.com (Thomas Clayton) Date: Tue, 16 Jun 2009 08:18:40 -0700 (PDT) Subject: [GEM Development] make,make install. Message-ID: <647584.30034.qm@web82302.mail.mud.yahoo.com> Square Brackets, below, are MY inserts for clarification. Tom - who is very curious about this "compiler stuff", too! --- On Tue, 6/16/09, kurt godel wrote: From: kurt godel Subject: [GEM Development] make,make install. To: gem-dev at simpits.org Date: Tuesday, June 16, 2009, 7:14 AM Just to get this straight, I have djgpp, and therefore djgpp/bin; so, exactly what from opengem5 do I need to shovel into bin ? (I'm assuming it's bin); then inside bin I type make / make[-]install? and when [do I] use make alone?. Also, I don't get the difference between gem app and gem desk accessory; i.e. why the latter doesn't work right with djgpp. I am very familiar with djgpp, especially in terms of c++, which means I am getting used to the terms of c, which can be different. --tnx,kurt --. From jce at seasip.demon.co.uk Tue Jun 16 14:55:27 2009 From: jce at seasip.demon.co.uk (John Elliott) Date: Tue, 16 Jun 2009 22:55:27 +0100 (BST) Subject: [GEM Development] make,make install. In-Reply-To: from "kurt godel" at Jun 16, 2009 08:14:41 Message-ID: > Also, I don't get the difference between gem app and gem desk accessory; > i.e. why the latter doesn't work right with djgpp. GEM desktop accessories, though they are stored in .EXE format, are loaded as overlays into a 16-bit process. They thus share GEM.EXE's program segment prefix, rather than having a proper one of their own. Apparently this can give a GO32 program trouble. They also get terminated without warning; when GEM shuts down it just drops all its accessories on the floor without bothering to let them know. That was as far as I got when I gave up on trying to write accessories in DJGPP. It was a nightmare to debug, because at the time the only debug info I could get was stack traces in white on a white background. Sometimes. To build GEM itself, you don't want DJGPP -- you want a 16-bit compiler. Anything I've touched has been done in Pacific C, while the original build tools included Lattice C, Metaware High C, and Borland C. -- John Elliott