Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I'm am not currently at the point where i can port these, but I would like to know what I will need to do so, like what system calls?
and for a c lib, I've ported most of the PDlibc ( except malloc... ), and now I need more ( like math ), so I downloaded the current glibc, but i have yet to find were the work is actually done ( every math function just links to another function or says not implemented ), so does any one know of a simple libc?
I do... but it probably won't work. Best idea is to get the bugger compiling properly.
I had problems with the autoconfigure system newlib employs. I hacked it a little - made a subdirectory in libc/sys/ and symlinked all my stuff there. Works a treat! you have to edit the configure.host and config.sub files as well, to recognise your OS string (e.g. i386-pc-jimix)
could you please elaborate on the details of what your are saying?, I get errors like "assembler garbage at end of assembly, unrecognized letter is 'a'", or something...
GLneo wrote:could you please elaborate on the details of what your are saying?, I get errors like "assembler garbage at end of assembly, unrecognized letter is 'a'", or something...
You might also want to say what compiler version and target you are using.
Also you should make sure that if you are using Cygwin(it looks like you are) that you are in binary mode. I had a bunch of problems compiling a cross compiler that were solved just by switching to binary mode.
if you would please not filter the command lines, we can make more sense of where it happens.
You can btw use the copy feature from the commandline window. That way you don't have to make screenshots.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]