FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2009 Threads] CodeSourcery and newlibPosted by Adam Turowski on November 21, 2009 Hi,
Recently I've tried to use CodeSourcery G++ Lite 2009q3-67 compiler for AT91SAM7X128. The compilation of my project works fine, but during linking FreeRTOS need memset et all functions. To provide them I've tried to cross compile newlib. After some fixes compilation works fine but "make install" fails. Then I found [link text][1] topic, where they are saying that there is lack of newlib support for CodeSourcery. Is it true? What can I do to provide memset etc functions to CodeSourcery?
Regards, Adam
[1]: http://groups.google.com/group/beagleboard/browse_thread/thread/f892e5f92d8881b6
RE: CodeSourcery and newlibPosted by woops_ on November 21, 2009 Should not need to do anything, just #include string.h and call memset.
RE: CodeSourcery and newlibPosted by Adam Turowski on November 22, 2009 Hmmm...I've checked the contents of the libraries comming with CodeSourcery, but I haven't found one with memset. I have to check it again....
Is printf and scanf support also included in CodeSourcery Lite libraries or do I need external library?
RE: CodeSourcery and newlibPosted by Richard on November 22, 2009 I have never had a problem calling C library functions with a bulk standard CodeSorcery installation, and a quick glance at the CodeSorcery page shows that it comes with EGLIBC 2.10. See http://www.codesourcery.com/sgpp/lite/arm
Regards.
RE: CodeSourcery and newlibPosted by Adam Turowski on November 22, 2009 Thanks for info. I've gone slightly further. The code now compiles and links, but it doesn't fit into FLASH because linker tries to put everything from standard libraries. How can I force it to link only used stuff - I mean functions referenced by the other functions.
Regards, Adam
RE: CodeSourcery and newlibPosted by Adam Turowski on November 28, 2009 Sorry guys to bothering you again, but I am really stuck now. Can someone point me to working example of compilation/linking of C program for AT91SAM7X MCU using CodeSourcery Lite tools and standard C lib functions please?
Regards, Adam
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|