Hey,

I have tried a small test example with cegcc and mingw32ce compilers.

The test example is here:

http://www.maths.univ-evry.fr/pages_perso/vtorri/files/jpeg_sample.c
http://www.maths.univ-evry.fr/pages_perso/vtorri/files/Makefile
http://www.maths.univ-evry.fr/pages_perso/vtorri/files/test.jpg

the test example open test.jpeg, read it, compress it again and write the 
result in test_out.jpg. I have hardcoded the path of the jpeg files in 
\efl

With mingw32ce, no problem.

With cegcc, I get an "Empty input file". The problem is fread that retirns 
0. ferror returns 32 (so != 0)

I have absolutely no idea why it is not working. I don't anything wrong in 
the jpeg code (it uses fopen then fread)

does someone have an idea why it does not work ?

thank you

Vincent Torri

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to