Talk:OS Specific Toolchain: Difference between revisions

Content deleted Content added
No edit summary
Line 55:
== Implementation notes ==
This tutorial has worked for me with GCC 4.5.0 and Newlib 1.18.0. I came across two errors when compiling Newlib. The first was exactly the same as in [forum:17777 this thread], but this was because there were compilation errors in my system call stubs; my best guess is that Make would try to compile them, fail, abort the entire compile process, then continue onwards assuming that it had succeeded. The second error was when I ran 'make install'. /usr/bin/install couldn't stat newlib/libc/sys/myos/netinet/*.h. For lack of a better way to disable networking (I presume) functionality, I simply created the folder structure as indicated and created an empty file, Net.h. This could probably be done better, but for a quick and dirty hack it seems to work. --[[User:Computafreak|Computafreak]] 09:41, 30 August 2010 (UTC)
 
I tried this with bleeding edge binutils-2.22, gcc-4.6.2 and newlib-1.20.0. I had a few issues, the most important one is that gettimeofday() syscall is wrong. Removing the row made it compile but should probably be changed. Also I had to add --without-headers and --with-newlib when running configure for gcc --[[User:Jezze|Jezze]] 22:27, 6 January 2012 (CST)
 
== Binutils not building GNU gold linker ==
Return to "OS Specific Toolchain" page.