c++.dos.16-bits - Problems to build QuickC 2.5 hello.obj (hello world), small model
- dennis luehring (95/95) Jul 22 2018 QC2.5 built hello.obj: https://ufile.io/ghq4m
- dennis luehring (7/108) Jul 23 2018 solved by setting LIB-env
QC2.5 built hello.obj: https://ufile.io/ghq4m QC2.5: SLIBCE.lib https://ufile.io/s02a3 using optlink from dmd.2.081.1 set LIB=QC25\LIB optlink.exe hello.obj SLIBCE.LIB gives me: OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html QC25\LIB\SLIBCE.LIB Offset 44EF2H Record Type 0088 Warning 169: Memory Model Conflict QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$INTNO QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$EXENAM QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$OVLBASE QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPOVLLFA QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPGSNOVL QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPGSNBASE QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MAIN QC25\LIB\SLIBCE.LIB(stb_text) Error 42: Symbol Undefined __FCclenv OPTLINK : Error 19: Segment Size Exceeds 64k : _TEXT QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 004C4H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftof 1001AH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00482H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00440H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00413H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 0031FH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftoe 0FE52H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00620H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftog 101C0H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00605H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftof 1001AH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 005E9H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftoe 0FE52H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 005BCH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _cftof_g 10192H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 0056FH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _cftoe_g 0FFEAH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcfout) Error 36: LOCATION Not Within FRAME at Relative 0001DH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol $i8_output 0B823H FIXUPP Type = Near JMP or CALL any ideas?
Jul 22 2018
solved by setting LIB-env set LIB=QC25\LIB and let optlink hello.obj take care of the needed libs Am 22.07.2018 um 11:11 schrieb dennis luehring:QC2.5 built hello.obj: https://ufile.io/ghq4m QC2.5: SLIBCE.lib https://ufile.io/s02a3 using optlink from dmd.2.081.1 set LIB=QC25\LIB optlink.exe hello.obj SLIBCE.LIB gives me: OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html QC25\LIB\SLIBCE.LIB Offset 44EF2H Record Type 0088 Warning 169: Memory Model Conflict QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$INTNO QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$EXENAM QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$OVLBASE QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPOVLLFA QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPGSNOVL QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MPGSNBASE QC25\LIB\SLIBCE.LIB(ovlm6l) Error 42: Symbol Undefined $$MAIN QC25\LIB\SLIBCE.LIB(stb_text) Error 42: Symbol Undefined __FCclenv OPTLINK : Error 19: Segment Size Exceeds 64k : _TEXT QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 004C4H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftof 1001AH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00482H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00440H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00413H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _shift 10312H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 0031FH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftoe 0FE52H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00620H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftog 101C0H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 00605H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftof 1001AH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 005E9H from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol __f_cftoe 0FE52H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 005BCH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _cftof_g 10192H FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcvt) Error 36: LOCATION Not Within FRAME at Relative 0056FH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol _cftoe_g 0FFEAH FIXUPP Type = Near JMP or CALL QC25\LIB\SLIBCE.LIB(xcfout) Error 36: LOCATION Not Within FRAME at Relative 0001DH from Segment _TEXT FRAME = Frame of TARGET 00000H TARGET = External Symbol $i8_output 0B823H FIXUPP Type = Near JMP or CALL any ideas?
Jul 23 2018