Hi,

I install mingw-w64-1.0-bin_x86_64-linux_20110822.tar.bz2 at CentOS 6.x.
I extract the tar file into /xmingw-w64/*
and set /xmingw-w64/bin as the first search path of $PATH.

Now when I compile a simple hello.c as below:

$ x86_64-w64-mingw32-gcc hello.c -o hello.exe

I got error message:
cc1: error: /xmingw-w64/bin/../../root/usr/local/include: Permission denied
cc1: error: /xmingw-w64/bin/../../root/mingw/include: Permission denied

The permission denied is because /root/* can't be access by user on CentOS
6.x.
If I compile hello.c use super user ... it works !!

What's the problem here ?
why cc1 try to access /root/usr/local/include instead of /usr/local/include
??

Thanks a lot
KC
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to