I just made a new export with the newest library 60 and beta site, to codesourcery.
The linker finds a double definition :
./mbed/LPC1768/GCC_CS/libmbed.a(stdio.o): In function `_isatty':
stdio.cpp:(.text._isatty+0x0): multiple definition of `_isatty'
mbed/LPC1768/GCC_CS/sys.o:sys.cpp:(.text._isatty+0x0): first defined here
When I look at the sources (thank you very much for making the library open source !) :
in Mbed-NXP/cmsis/LPC1768/GCC_CS/sys.cpp line 80:definition of _isatty
in Mbed-src/stdio.cpp line 232 is probably a definition of _isatty (depending on #ifdef ARMCC_VERSION
Thank you for opening the sources .
Robert Spilleboudt
I just made a new export with the newest library 60 and beta site, to codesourcery.
The linker finds a double definition : ./mbed/LPC1768/GCC_CS/libmbed.a(stdio.o): In function `_isatty': stdio.cpp:(.text._isatty+0x0): multiple definition of `_isatty' mbed/LPC1768/GCC_CS/sys.o:sys.cpp:(.text._isatty+0x0): first defined here
When I look at the sources (thank you very much for making the library open source !) : in Mbed-NXP/cmsis/LPC1768/GCC_CS/sys.cpp line 80:definition of _isatty in Mbed-src/stdio.cpp line 232 is probably a definition of _isatty (depending on #ifdef ARMCC_VERSION
Thank you for opening the sources . Robert Spilleboudt