gnupic: compiling GPASM and GPSIM with Suse 7.1


Previous by date: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Next by date: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Previous in thread: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Next in thread: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE

Subject: Re: compiling GPASM and GPSIM with Suse 7.1
From: Scott Dattalo ####@####.####
Date: 16 May 2001 23:15:49 -0000
Message-Id: <Pine.LNX.4.21.0105161800050.27935-200000@tempest2.blackhat.net>


On Wed, 16 May 2001, TREVOR WHITE wrote:

> 
> Eric!
> 
> Please could you explain to me if you were trying to be an intellectual 
> snob. I am asking questions to learn more! Not to be replied to in such a 
> fashion. If you do not have anything positive to say then please don't say 
> anything.
> 
> I cant believe that you felt that you had to reply in such a way. Please go 
> off and get a life. You really negate proper learning.

Trevor,

I don't think Eric was attempting to be derogatory or condescending. I know him,
and he's a nice guy - really.

The RPM's on my web page are unfortunately out of date. That's why you're having
the dependency problems you mentioned. If, however, you download the tarballs
then all you need to do to compile them is:

tar -xvzf gpsim-0.20.9.tar.gz
cd gpsim-0.20.9
./configure
make

Then to install:
su
make install

gpasm is handled analogously.


Now - you mention that you have SuSE 7.1. Well I just got a patch that needs to
be applied to input.cc that I've attached for your convenience. This is a
one-line patch, so it'd probably be easier to simply edit the source. But in
general (and since you want to learn something :) the way a patch is applied is:


cd to the level where the patch applies
(in this case, cd gpsim-0.20.8/)
patch -p0<input.patch

The "<" means to take the contents of the file "input.patch" and feed it to the
program "patch -p0".

To learn about patch, you can access the man pages: man patch.

Hopefully this bitter experience doesn't turn you away from using Linux for PIC
development...

Scott

Index: cli/input.cc
===================================================================
RCS file: /cvsroot/gpsim/cli/input.cc,v
retrieving revision 1.13
diff -u -r1.13 input.cc
--- cli/input.cc	2001/01/11 16:58:10	1.13
+++ cli/input.cc	2001/05/16 22:32:24
@@ -558,7 +558,7 @@
                  (GdkInputFunction) myfunc, b);
 
   //rl_callback_handler_install (gpsim, test_func);
-  rl_callback_handler_install ("gpsim> ", test_func);
+  rl_callback_handler_install ("gpsim> ", (void(*)(char*))test_func);
 
 #endif
 

Previous by date: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Next by date: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Previous in thread: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE
Next in thread: 16 May 2001 23:15:49 -0000 Re: compiling GPASM and GPSIM with Suse 7.1, TREVOR WHITE


Powered by ezmlm-browse 0.20.