Hi Ankur (and others),
To use both --model-large and --stack-auto (which I do not recommend) you
must use them while compiling your project of course. But you must also
recompile the libraries with these options. On *nix I would adapt the
Makefile in /device/lib/ to create them.
HTH,
Maarten
> Quoting Ankur Maheshwari <[EMAIL PROTECTED]>:
>
>> Hi all,
>>
>> I want to compile sdcc with --model-large and --stack-auto. How do I do
>> this.
>> I tried ./configure CFLAGS=--stack-auto, but it fails configure to run.
>> What is the correct method to this please suggest.
>>
>> thanks,
>> Ankur
>
>
>
> The --model-large and --stack-auto flags are not for building the
> compiler itself, you are supposed to use them when you compile the
> code for the microcontroller, like;
>
> sdcc ${CFLAGS} --model-large --stack-auto file.c
>
>
> regards,
>
> Robert
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Sdcc-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user