Hello,
I’m trying to compil the ain64_din128_dout128_v2_0 C example code. I use Windows XP SP2. I’ve installed GPUTILS 0.13.5; POSIX; SDCC 2.7.0.
I go in source code directory and type make:
Makefile generated.
Makefile.bat generated.
Assembling MIOS SDCC wrapper
==========================================================================
Compiling pic18f452.c
at 1: warning 117: unknown compiler option ‘–fstack’ ignored
_output\pic18f452.asm:168:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:171:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:174:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:177:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:180:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:186:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:189:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:192:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:195:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:198:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:204:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:207:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:210:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:213:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:216:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:222:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:225:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:228:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:231:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:234:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:237:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:243:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:252:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:255:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:264:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:272:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:277:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:285:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:288:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:293:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:296:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:299:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:304:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:309:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:314:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:317:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:320:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:323:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:329:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:334:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:360:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:363:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:366:Warning [231] No memory has been reserved by this instruction.
_output\pic18f452.asm:378:Warning [231] No memory has been reserved by this instruction.
==========================================================================
Compiling main.c
at 1: warning 117: unknown compiler option ‘–fstack’ ignored
==========================================================================
Linking project
==========================================================================
Converting to project.syx
Block 003000-0033FF allocated - Checksum: 06
Block 003400-0037FF allocated - Checksum: 26
Block 003800-003BFF allocated - Checksum: 34
==========================================================================
SUCCESS!
I’m wondering what’s going wrong with this ‘–fstack’ command. Can anyone help me?
Another question: I use a PIC 18F4620 instead of 18F452. Should I modifiy only ‘main.c’ (include “pic18f452.h” -> include “pic18f4620.h”)?
Thanks! ![]()
nsunier