EmbLogic's Blog

Author Archives: bishan

Toolchain help!!!

Hi, I am working on cross development toolchain. I used packages binutils-2.10.1, gcc-2.95.3, glibc-2.2.4, glibc-linux-threads-2.2.4, kernel-2.4.17. (most common packages for building toolchain) I followed book “Building Embedded Linux Systems (OReilly 2003) – chapter 4″ and finally i am able to … Continue reading

Posted in Embedded Linux, Uncategorized | 4 Comments

FILE I/O

// // Reading a txt File using Pointers // #include<stdio.h> #include<stdlib.h>   // Header File For malloc FILE *fptr; char *ch; int ret,ret2; int main() { printf(“\n”); fptr = fopen(“f1.txt”,”r”); if (fptr == NULL) { printf(“Error Opening File”); } else    … Continue reading

Posted in Uncategorized | 4 Comments