I tried as follows:

fpin=fopen("//Software//myfile.avs","rb+");  
fpin=fopen("/Software/myfile.avs","rb+");
fpin=fopen("\\Software\\myfile.avs","rb+");
("myfile.avs" is put under "Software" directory)

fpin still returns NULL!

2011-12-01 



hdzhang264 



发件人: Andy Wu 
发送时间: 2011-12-01  21:08:07 
收件人: hdzhang264 
抄送: Vincent Torri; cegcc-devel 
主题: Re: [Cegcc-devel] fopen() failed? 
 
You should use absolute path on ce.
On 2011-12-1 下午9:06, "hdzhang264" <hdzhang...@126.com> wrote:

I am using mingw32ce on Linux.

the code follows:

FILE *fpin;
fpin=fopen("myfile.avs","rb+");  

In makefile, i used arm-mingw32ce-gcc, make is ok.

But when it runs on wince5.0,  the fpin returns NULL always. 

"myfile.avs" and excutable file lies in the same directory.


2011-12-01 



hdzhang264 



发件人: Vincent Torri 
发送时间: 2011-11-30  20:10:43 
收件人: hdzhang264 
抄送: cegcc-devel 
主题: Re: [Cegcc-devel] where are the target files? 



2011/11/30 hdzhang264 <hdzhang...@126.com>



I installed from a binary distribution "cegcc_mingw32ce_cygwin1.7_r1375.tar.bz2 
".
I am using arm-wince-mingw32ce tools. 
I am using Linux platform  to develop. 

What is strange to me is that you use a "cygwin" toolchain to cross-compile on 
a linux platform.

Vincent Torri

 
What is the nature of your problem ?  --------can not found the target file (.o 
file). 
Can you send us a small source that demonstrates the problem ? 
        When compile my project, none of error occurs. But after compile, none 
of the target file is found under the project folder.  (If I use 
arm-linux-gcc/arm-linux-as,the target file is right.)
:
the output shows no one error or warning. 
just like "arm-mingw32ce-gcc.exe -o *.c -o *.o","arm-mingw32ce-as.exe -o *.o 
*.s".
I found it did not compile the file ever, because it did not point any error 
even i put some obvious wrong code in my files.
2011-11-29 



hdzhang264 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel





------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to