DISCLAIMER: (I' am a newbie)

Hello I heard somewhere that dosemu-0.66.7 can run the adsp a2181
compiler and linker (namely g2 and ld21). These are tools that are based
in an ancient version of gcc. I tried dosemu-0.99.6 the latest I could
compile and failed. From what I know g21 uses dpmi.

The question is what option should I use for debugging? -D+M gives a lot
of messages but is it really dpmi related?. Does a later version of
dosemu copes with this problem? or it is the first time you have ever
heard of? If not please excuse my ignorance but I checked over the list
archive for the Mars and Feb and I didn't find anything relative.

        .Bill

PS. I found the solution in the compilation problems __needs_timeval. I
will try 0.99 now. Should I keep you informed?
H:\EXAMPLES>ccnew mlffn fmg

H:\EXAMPLES>g21 mlffn.c -a cam2.ach -c -D_VC65 -msmall-code -Wall -g -v -mreserved=i3 
-o mlffn
gcc version 2.3.3 snapshot 930305:
 G:\adsp\21xx\etc\cpp.exe -lang-c -v -undef -D__GNUC__=2 -g -Wall -D_VC65 -DADSP21xx 
-DADSP2181 -D__ADSP21xx__ -D__ADSP2181__ mlffn.c f:\cc014378.i
GNU CPP version 2.3.3 snapshot 930305 (adsp21xx 5.1):
 G:\adsp\21xx\etc\cc1.exe f:\cc014378.i -O2 -quiet -dumpbase mlffn.c -msmall-code 
-mreserved=i3 -m2181 -g -Wall -version -o f:\cc014378.s
GNU C version 2.3.3 snapshot 930Unexpected interrupt 0D (code FFFF0000) at 
017F:00000611
TSF32: prev_tsf32 6CF0
 SS 0187  DS 00DF  ES 0000  FS 009F  GS 0000
 EAX 00310000  EBX 01870000  ECX 000C0000  EDX 80970000
 ESI 6BE00000  EDI 00000202  EBP 6BDA0000  ESP 00006BD0
CS:IP 017F:00000611  ID 000D  CODE FFFF0000  FLAGS 00010212
CS=017F, USE16, byte granular, limit 00009F5F, base 401A4B20, acc 00FB
SS=0187, USE16, byte granular, limit 00007CFF, base 401AEA80, acc 00F3
DS=00DF, USE32, byte granular, limit 0000FFFF, base 00000000, acc 40F3
ES=0000, USE16, byte granular, limit 00000000, base 00000000, acc 0000
FS=009F, USE32, byte granular, limit 0000FFFF, base 000F8000, acc 40FB
GS=0000, USE16, byte granular, limit 00000000, base 00000000, acc 0000
CR0: PG:0 ET:1 TS:0 EM:0 MP:0 PE:0   CR2: 00000000  CR3: 00000000

H:\EXAMPLES>g21 fmg.c -a cam2.ach -c -D_VC65 -msmall-code -Wall -g -v -mreserved=i3 -o 
fmg
gcc version 2.3.3 snapshot 930305:
 G:\adsp\21xx\etc\cpp.exe -lang-c -v -undef -D__GNUC__=2 -g -Wall -D_VC65 -DADSP21xx 
-DADSP2181 -D__ADSP21xx__ -D__ADSP2181__ fmg.c f:\cc008980.i
GNU CPP version 2.3.3 snapshot 930305 (adsp21xx 5.1):
 G:\adsp\21xx\etc\cc1.exe f:\cc008980.i -O2 -quiet -dumpbase fmg.c -msmall-code
-mreserved=i3 -m2181 -g -Wall -version -o f:\cc008980.s
GNU C version 2.3.3 snapshot 930305 (adsp21xx 5.1): compiled by CC.
fmg.c: In function `openf':
fmg.c:39: warning: implicit declaration of function `fcreat'
fmg.c: In function `closef':
fmg.c:73: warning: implicit declaration of function `fclose'
fmg.c: In function `putf_int':
fmg.c:85: warning: implicit declaration of function `flpgm16'
fmg.c: In funUnexpected interrupt 0D (code FFFF0000) at 017F:00000611
TSF32: prev_tsf32 6CF0
 SS 0187  DS 00DF  ES 0000  FS 009F  GS 0000
 EAX 00310000  EBX 01870000  ECX 000B0000  EDX 01770000
 ESI 6BE00000  EDI 00000202  EBP 6BDA0000  ESP 00006BD0
CS:IP 017F:00000611  ID 000D  CODE FFFF0000  FLAGS 00010212
CS=017F, USE16, byte granular, limit 00009F5F, base 401A4B20, acc 00FB
SS=0187, USE16, byte granular, limit 00007CFF, base 401AEA80, acc 00F3
DS=00DF, USE32, byte granular, limit 0000FFFF, base 00000000, acc 40F3
ES=0000, USE16, byte granular, limit 00000000, base 00000000, acc 0000
FS=009F, USE32, byte granular, limit 0000FFFF, base 000F8000, acc 40FB
GS=0000, USE16, byte granular, limit 00000000, base 00000000, acc 0000
CR0: PG:0 ET:1 TS:0 EM:0 MP:0 PE:0   CR2: 00000000  CR3: 00000000

H:\EXAMPLES>ld21 ..\lib\pg_hdr ..\lib\stack  mlffn  fmg  -g -gcc -x -a cam2 -e adsp 
-lib -user vcrt65 vclib65
library file is G:\adsp\21xx\lib\libda.a
21XXlnk: adsp, can't open code file mlffn.obj
21XXlnk: adsp, link errors


Reply via email to