gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > A problem with lib

#151280 - Cisco - Fri Feb 22, 2008 1:53 pm

Does anyone know if you can include standar C libraries in DS code?

#151281 - kusma - Fri Feb 22, 2008 1:53 pm

Yes, you can.

#151282 - Cisco - Fri Feb 22, 2008 2:31 pm

Ok, I know that it's sound stupid but I'm trying to compilate a code, that works on linux, and it does not work.
So I have some questions:
Devkitpro includes standar C libraries?
Where can I found them?
and where have I put?

Thanks

#151283 - kusma - Fri Feb 22, 2008 2:38 pm

devkitARM include the standard c-libraries, yes. They can be found inside the arm-eabi\include folder of your devkitARM-installation (afaik, devkitARM is usually installed in C:\devkitPro\devkitARM\, so that should make it all C:\devkitPro\devkitARM\arm-eabi\include for most users). You shouldn't have to do anything special to include them to my knowledge.

Keep in mind that linux has a lot of "other standard libraries" (like POSIX), some of them are not available in devkitPro.