Am 30.04.20 um 13:29 schrieb Basil Hussain:
> I have created a feature request: #675.
> 
> Took a brief look at what it would take to implement this myself. Seems
> like it's just a question of adding something like the following into
> preProcess() in SDCCmain.c:
> 
> if (optimize.codeSpeed)
>     addSet (&preArgvSet, Safe_strdup ("-D__SDCC_OPTIMIZE_SPEED"));
> if (optimize.codeSize)
>     addSet (&preArgvSet, Safe_strdup ("-D__SDCC_OPTIMIZE_SIZE"));
> 
> But I have absolutely no idea where to even start trying to build my own
> copy of SDCC and test it. :-)

That's easy. Assuming you're using some Unix-like system, such as GNU/Linux:

svn co https://svn.code.sf.net/p/sdcc/code/trunk/sdcc
cd sdcc
./configure
make

Philipp


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to