delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/09/03:59:39

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 9 Dec 2001 21:55:33 +1300
Message-Id: <200112090855.fB98tXw20295@weka.grace.cri.nz>
From: Roger Young <roger AT weka DOT grace DOT cri DOT nz>
To: djgpp AT delorie DOT com
CC: roger AT kea DOT grace DOT cri DOT nz
Subject: Newbie installation problems
Reply-To: djgpp AT delorie DOT com


Hello,

I'm having a few problems with DJGPP and Allegro
and hope someone can help out. Here are my queries:

(1) How do I control the bash environment? for
example I would like to alias 'ls' with 'ls --color'
this works on the fly but how do I make it part of
my configuration. I tried to set it in djgpp.env
but it had no effect. 

(2) Is it possible to scroll back the console screen
as in Linux?


Then there are 2 compilation problems as follows:

(3) I am not able to compile allegro 3.12, apparently something
to do with the assembler. I include the log below. The compiler
is gcc-3.0.2 downloaded Nov 28.

Compiling Allegro. Please wait...
gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -mcpu=pentium -O6
-ffast-math -fomit-frame-pointer -o obj/djgpp/allegro.o -c
src/allegro.c
src/allegro.c: In function `allegro_init':
src/allegro.c:324: warning: implicit declaration of function `strcmp'
gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -mcpu=pentium -O6
-ffast-math -fomit-frame-pointer -o obj/djgpp/blit.o -c src/blit.c
gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -mcpu=pentium -O6
-ffast-math -fomit-frame-pointer -s -o obj/djgpp/asmdef.exe
src/asmdef.c
obj/djgpp/asmdef.exe obj/djgpp/asmdef.inc
writing structure offsets into obj/djgpp/asmdef.inc...
gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o obj/djgpp/blit8.o -c
src/blit8.S
c:\djgpp\tmp\ccQFoB8v.s: Assembler messages:
c:\djgpp\tmp\ccQFoB8v.s:44: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:104: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:104: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:104: Error: suffix or operands invalid for
`movs'
c:\djgpp\tmp\ccQFoB8v.s:117: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:117: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:117: Error: suffix or operands invalid for
`movs'
c:\djgpp\tmp\ccQFoB8v.s:125: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:125: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:132: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:132: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:139: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:139: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:190: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:196: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:217: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:223: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:279: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:279: Warning: indirect call without `*'
c:\djgpp\tmp\ccQFoB8v.s:279: Error: Rest of line ignored. First
ignored character is `m'.
make.exe: *** [obj/djgpp/blit8.o] Error 1


(4) Compilation problems with microwindows which is meant
to be compatible with DJGPP. A typical error here is

make.exe[1]: Entering directory
`c:/dir/microwin/microwin.89p/src/mwin'
Updating dependencies in c:/dir/microwin/microwin.89p/src/mwin ...
c:/djgpp/bin/bash.exe -ec 'gcc -MM  -DERASEMOVE=1 -DUPDATEREGIONS=1
-DMWPIXEL_FORMAT=MWPF_PALETTE -DDOS_DJGPP=1 -D_NAIVE_DOS_REGS=1
-DMSDOS=1   -I. -I/dir/microwin/microwin.89p/src/include winmain.c
winuser.c wingdi.c winexpos.c winclip.c winevent.c windefw.c winrgn.c
winfont.c winsbar.c \
| sed '\''s/\(\)\.o[ :]*/\1.o \.depend : $(TOP)\/config /g'\'' >
.depend; \
[ -s .depend ] || rm -f .depend'
c:/djgpp/bin/bash: .depend: No such file or directory (ENOENT)
make.exe[1]: *** [.depend] Error 1
make.exe[1]: Leaving directory `c:/dir/microwin/microwin.89p/src/mwin'
 

Please help solve these problems if you can.
Thankyou,

Roger Young
roger AT maths DOT grace DOT cri DOT nz

- Raw text -


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