[En-Nut-Discussion] Some notes on unsetenv and the YAGARTO toolchain

Michael Fischer fischermi at t-online.de
Mon Sep 7 19:44:41 CEST 2009


Hallo List,

you must use the "Posix compatible unsetenv" in case you are
using a YAGARTO version which is build with newlib 1.17.0.

Under windows you will find a "version.txt" file inside the
YAGARTO folder. From the version.txt, you get the newlib version.

Even you can identify the newlib version by the installer name:

yagarto-bu-2.19.1_gcc-4.4.1-c-c++_nl-1.17.0_gi-6.8.50_20090817.exe

Comes with a newlib 1.17.0 (_nl-1.17.0_).

The following newlib versions comes with a void for the return value
of unsetenv where the "Posix compatible unsetenv" is not needed.

1.14.0
1.15.0
1.16.0

The last YAGARTO version which use a newlib 1.16.0 was:
yagarto-bu-2.18_gcc-4.3.2-c-c++_nl-1.16.0_gi-6.8.50_20080928.exe

Best regards,

Michael






More information about the En-Nut-Discussion mailing list