[uCsimm] fprintf crashes

From: Ashwin (ashwin_patwekar@hotmail.com)
Date: Mon Apr 23 2001 - 03:09:36 EDT


Hello friends,
       I wrote small code which does nothing but use fprintf to print to stderr
Here is the c code
#include<stdio.h>

main (int argc, char* argv[]) {

int result;

fprintf(stderr,"In Main\n");

}

my problem is that the same code works on 2.0.38.
I compiled the same code for 2.4.x using m68k-elf gcc
with command "m68k-elf-gcc -o fp.elf fp.c -Wl, -elf2flt"
the code genrerated does not work and crashes while if the same code is compiled
using m68k-pic-coff-gcc it works in the 2.4.x kernel .
What might be the problem.
Please help me out

Ashwin

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:43 EST