Re: [Sdcc-user] sdcc cannot compile a simple example with model "large"

2013-09-12 Thread Maarten Brock
Hello Catalin, > I think I found the problem, but I need to investigate more. > If I do a "make clean" and in device/lib/incl.mk I list only large as > model, everything is working. > Make is using dir "device/lib/mcs51" to store intermediate objects. > And I am pretty sure they are not deleted wh

Re: [Sdcc-user] sdcc cannot compile a simple example with model "large"

2013-09-11 Thread Catalin(ux) M. Boie
> Hello Catalin, Hello. Thanks for answer! > Can you please try again with --print-search-dirs and also examine if the > library dirs exist and what they contain? > > You should not need to use -llibsdcc.lib > > Can I assume that you're running linux? Yes, Fedora 19 (that does not come with larg

Re: [Sdcc-user] sdcc cannot compile a simple example with model "large"

2013-09-11 Thread Maarten Brock
Hello Catalin, Can you please try again with --print-search-dirs and also examine if the library dirs exist and what they contain? You should not need to use -llibsdcc.lib Can I assume that you're running linux? Maarten > Hello. > > I am still fighting to compile Contiki-OS for mcs51. > > I fo

[Sdcc-user] sdcc cannot compile a simple example with model "large"

2013-09-11 Thread Catalin(ux) M. Boie
Hello. I am still fighting to compile Contiki-OS for mcs51. I found out that olso a simple example does not work. So, using a trivial C program (int a; a = 1; return 1) I am getting this: Working: sdcc --fverbose-asm --model-small --stack-auto cata.c -llibsdcc.lib Not working: $ sdcc --fverbos