ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/27/09:38:01

Date: Wed, 27 May 92 08:56:18 -0400
From: walsh%ibis AT cs DOT umass DOT edu (Norman Walsh)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Building programs...
Reply-To: walsh AT cs DOT umass DOT edu
Status: O

I may be just a bit clueless, but if someone could answer a few
questions, I'd really appreciate it:

I downloaded djgpp in order to build ps2pk.  I have another executable
of ps2pk that someone else built with djgpp so I know it can be done
and that it works.  I wanted to apply some patches so...

I downloaded: 

    djdev106, djemu106, djgas138, djinc106, djlib106, and djgcc201

The install went well and everything seems ok.  My first attempt at 
building ps2pk resulted in the message:

          tolower.o: _tolower multiply defined
          isctype.o: _tolower multiply defined

I looked around a little and concluded that the _only_ place that the
symbol _tolower occurs is in libc.a.  Since I didn't build it, nor did
I download the sources to build it, I hacked it (by changing one 
occurance of _tolower to _txlower).  

This allowed me to build the executable for ps2pk but it doesn't run
(it almost immediately reports a floating point exception (using emu387)).

Ok, I admit that "_txlower" is a really nasty hack.  My question is:
do I have to rebuild all the libraries and emu387 with gcc201 since
that's the compiler I downloaded?  Is it reasonable to assume that all
my difficulties arrise from discrepancies between the versions of gcc
and the libs?

                                          Thanks, in advance,
					    norm

P.S. I'm willing to believe that my patches, by the way, may not be
perfect.  However, they run fine under the unix version of ps2pk 
compiled with gcc and I don't suspect that they would cause such 
immediate 387 errors (in fact, there's nothing in them that has anything
to do with the 387).

P.P.S. I just subscribed to the djgpp mailing list and I don't know
how long it takes "listserv" to get things established so that I receive
posts to the list.  Therefore, if you could send copies of the replies
to me...that'd make me feel better ;-)

- Raw text -


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