On Wed, Apr 7, 2010 at 6:44 PM, Simon de Graaf <[email protected]> wrote:
> I have installed the mingw-w64 compiler etc. in my 3rdparty directory
> but cannot run it like the mingw32 compiler.
> For example:
>
> % set path = ( /my3rdparty/win64/x86_64-w64-mingw32/bin /usr/bin /bin )

The executables under that /my3rdparty/win64/x86_64-w64-mingw32/bin
are not supposed to be run directly by the user. Try running the ones under
your /my3rdparty/win64/bin instead.

> % rehash
> % gcc addcr.c
> gcc: error trying to exec 'cc1': execvp: No such file or directory
>
> % set path = ( /my3rdparty/win64/bin /usr/bin /bin )
> % rehash
> % x86_64-w64-mingw32-gcc addcr.c
> this works (also if i install gcc in the same bin directory, it works)
>
> Not all the 3rdparty packages, i have, uses this full cross compiler name.
> Note, that the mingw32 compiler does not have this problem.
>
> Simon de Graaf
>

--
Ozkan

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to