From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem compiling stuff in "src" folder Date: 21 Jan 2000 13:55:06 GMT Organization: Aachen University of Technology (RWTH) Lines: 29 Message-ID: <869ofq$hue$1@nets3.rz.RWTH-Aachen.DE> References: <_RIh4.1380$PG6 DOT 13587 AT news2-hme0> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 948462906 18382 137.226.32.75 (21 Jan 2000 13:55:06 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 21 Jan 2000 13:55:06 GMT User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586)) Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chris Murray wrote: >> I ran make in the src folder, but after a few minutes of chugging away, it >> fell over, telling me that shiftscl.c has errors in it such as "Invalid >> 'asm' statement". [...] > Sorry, I should have made it a bit clearer. I am using GCC version 2.95.2 > and MAKE version 3.77 > I installed a 'clean' version of DJGPP - freshly downloaded, and tried to > run MAKE in the 'src' folder. You've made at least one mistake during that installation, albeit it an easy-to-make one. The file it's complaining about, shiftscl.c is part of the GRX library. Your first glitch is that this file should not be in 'the' src folder (c:\djgpp\src or equivalent). Unlike almost all other DJGPP packages, GRX must be unzipped to a different place than your DJGPP directory: it belongs into the contrib\grx20 tree below it. The real reason why you got no help regarding that error message, however, is that you did not mention the keyword 'GRX' anywhere. Yours is a well-known problem with the GRX package and newer GCC releases, and there's a fix downloadable from its home page (http://www.gnu.de/software/GRX/), if memory serves. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.