HAllo zusammen,
ich sehe mir gerade den Quellcode Version 190 an, habe die MPLAB IDE v8.66 und die Evaluierungsversion des C Compilers vers. 3.38, den Hi Tech C Compiler Lite (auch aktuell) installiert.
Die Toolsuite sagt:
MPASM v5.41
MPLINK v4.39
MPLAB C18 C v3.38
MPLIB v4.39
Soweit so gut, in definitions.asm habe ich die Sprache auf Germanisch gestellt und kompiliert. Jetzt sollte eigentlich eine hex datei mit der gleichen Größe wie im Download zur verfügung gestellt, herauskommen.
Meine Kompilierte Datei hat 231 KB (237.157 Bytes),
die aus dem Download 211 KB (216.569 Bytes).
Muss ich noch irgendwelche Compiler Optimierungen einstellen oder ist der Unterschied in den neuesten Compilerversionen zu suchen?
(Ich dachte eigentlich die Dinger werden immer besser und sollten also immer kleineren Code generieren

)
Schon mal Danke,
Grüße
Robert
Hier noch das Build Log;
----------------------------------------------------------------------
Release build of project `D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\rob_ostc2n.mcp' started.
Language tool versions: mpasmwin.exe v5.41, mplink.exe v4.39, mcc18.exe v3.38, mplib.exe v4.39
Thu May 12 19:02:04 2011
----------------------------------------------------------------------
Make: The target "D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\OSTC_code_asm_part1\MAIN.o" is out of date.
Executing: "C:\Programme\Microchip\mplabc18\v3.38\mpasm\mpasmwin.exe" /q /p18F4685 "MAIN.ASM" /l"MAIN.lst" /e"MAIN.err" /o"MAIN.o"
Message[311] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MENU_LOGBOOK.ASM 338 : Operand of HIGH operator was larger than H'FFFF'.
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 127 : MESSAGE: (OSTC - diving computer code, Copyright (C) 2010 HeinrichsWeikamp GbR)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 128 : MESSAGE: (This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 129 : MESSAGE: (Free Software Foundation, either version 3 of the License, or (at your option) any later version.)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 130 : MESSAGE: (This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 131 : MESSAGE: (or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 132 : MESSAGE: (You should have received a copy of the GNU General Public License along with this program.If not, see
http://www.gnu.org/licenses/.)
Message[301] D:\USER\ROBERT\EIGENE DATEIEN\OSTC\SOURCECODE190\OSTC_CODE_ASM_PART1\MAIN.ASM 137 : MESSAGE: (OSTC Mk.2 code compiled in RELEASE configuration!)
Make: The target "D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\OSTC_code_c_part2\p2_deco.o" is out of date.
Executing: "C:\Programme\Microchip\mplabc18\v3.38\bin\mcc18.exe" -p=18F4685 /i"D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\OSTC_code_asm_part1" -I"C:\Programme\Microchip\MPASM Suite" -I"C:\Programme\HI-TECH Software\PICC-18\PRO\9.66\lib" "p2_deco.c" -fo="p2_deco.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.38 (evaluation)
Copyright 2000-2011 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 60
Make: The target "D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\rob_ostc2n.cof" is out of date.
Executing: "C:\Programme\Microchip\mplabc18\v3.38\bin\mplink.exe" /p18F4685 "OSTC_code_asm_part1\18f4685_ostc_mkII.lkr" "OSTC_code_asm_part1\MAIN.o" "OSTC_code_c_part2\p2_deco.o" /u_CRUNTIME /z__MPLAB_BUILD=1 /m"rob_ostc2n.map" /w /o"rob_ostc2n.cof"
MPLINK 4.39, Linker
Device Database Version 1.1
Copyright (c) 1998-2011 Microchip Technology Inc.
Errors : 0
MP2HEX 4.39, COFF to HEX File Converter
Copyright (c) 1998-2011 Microchip Technology Inc.
Errors : 0
Loaded D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\rob_ostc2n.cof.
----------------------------------------------------------------------
Release build of project `D:\User\Robert\Eigene Dateien\OSTC\sourcecode190\rob_ostc2n.mcp' succeeded.
Language tool versions: mpasmwin.exe v5.41, mplink.exe v4.39, mcc18.exe v3.38, mplib.exe v4.39
Thu May 12 19:02:19 2011
----------------------------------------------------------------------
BUILD SUCCEEDED