Discussion:
[Msys2-users] scons and mingw-w64-x86_64-gcc
Jan Niklas Hasse
2014-05-13 23:54:44 UTC
Permalink
Hi!

I'm new to MSYS2 and trying to setup my dev environment with it. I've
installed scons and mingw-w64-x86_64-gcc with pacman. Although the g++
command works fine, scons can't seem to find it:

sh: o: command not found

If I install the gcc package scons works, but I want to be able to use
the other mingw-w64 packages like boost, etc.
Is there anyway to fix this? How are others using scons and mingw-w64?
Alexey Pavlov
2014-05-14 02:22:54 UTC
Permalink
Post by Jan Niklas Hasse
Hi!
I'm new to MSYS2 and trying to setup my dev environment with it. I've
installed scons and mingw-w64-x86_64-gcc with pacman. Although the g++
sh: o: command not found
If I install the gcc package scons works, but I want to be able to use
the other mingw-w64 packages like boost, etc.
Is there anyway to fix this? How are others using scons and mingw-w64?
to use mingw-w64-x86_64-gcc you need run MSYS2 with mingw64_shell.bat or modify PATH variable
export PATH=/mingw64/bin:$PATH

Regards,
Alexey.
Post by Jan Niklas Hasse
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Msys2-users mailing list
https://lists.sourceforge.net/lists/listinfo/msys2-users
Jan Niklas Hasse
2014-05-14 08:54:10 UTC
Permalink
Post by Alexey Pavlov
Post by Jan Niklas Hasse
Hi!
I'm new to MSYS2 and trying to setup my dev environment with it. I've
installed scons and mingw-w64-x86_64-gcc with pacman. Although the g++
sh: o: command not found
If I install the gcc package scons works, but I want to be able to use
the other mingw-w64 packages like boost, etc.
Is there anyway to fix this? How are others using scons and mingw-w64?
to use mingw-w64-x86_64-gcc you need run MSYS2 with mingw64_shell.bat or modify PATH variable
export PATH=/mingw64/bin:$PATH
I did run mingw64_shell.bat and g++ is in the path: Running it in bash
works fine.
Alexey Pavlov
2014-05-14 13:34:49 UTC
Permalink
Post by Alexey Pavlov
Post by Jan Niklas Hasse
Hi!
I'm new to MSYS2 and trying to setup my dev environment with it. I've
installed scons and mingw-w64-x86_64-gcc with pacman. Although the g++
sh: o: command not found
If I install the gcc package scons works, but I want to be able to use
the other mingw-w64 packages like boost, etc.
Is there anyway to fix this? How are others using scons and mingw-w64?
to use mingw-w64-x86_64-gcc you need run MSYS2 with mingw64_shell.bat or modify PATH variable
export PATH=/mingw64/bin:$PATH
I did run mingw64_shell.bat and g++ is in the path: Running it in bash works fine.
What problem then?
Jan Niklas Hasse
2014-05-14 14:57:35 UTC
Permalink
Post by Alexey Pavlov
What problem then?
I don't want to run g++ from bash. I want to use scons. And scons
doesn't seem to find g++ provided by mingw-w64-*-gcc, only the one
provided by gcc (but I don't want to use that one, because it doesn't
work with some other packages and is out of date).
Alexey Pavlov
2014-05-14 15:54:37 UTC
Permalink
Post by Jan Niklas Hasse
Post by Alexey Pavlov
What problem then?
I don't want to run g++ from bash. I want to use scons. And scons
doesn't seem to find g++ provided by mingw-w64-*-gcc, only the one
provided by gcc (but I don't want to use that one, because it doesn't
work with some other packages and is out of date).
scons that you install via pacman is working with msys-python and need bash for it.
You can try to build your own scons with mingw-python

Regrads,
Alexey.
Post by Jan Niklas Hasse
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Msys2-users mailing list
https://lists.sourceforge.net/lists/listinfo/msys2-users
Jan Niklas Hasse
2014-05-14 15:59:06 UTC
Permalink
Post by Alexey Pavlov
scons that you install via pacman is working with msys-python and need bash for it.
You can try to build your own scons with mingw-python
I think you didn't understand me correctly. I'm running scons from bash.

I've created an issue on Github with steps to reproduce the problem:
https://github.com/Alexpux/MSYS2-packages/issues/9
Alexey Pavlov
2014-05-14 16:00:17 UTC
Permalink
Post by Jan Niklas Hasse
Post by Alexey Pavlov
scons that you install via pacman is working with msys-python and need bash for it.
You can try to build your own scons with mingw-python
I think you didn't understand me correctly. I'm running scons from bash.
https://github.com/Alexpux/MSYS2-packages/issues/9
Ok. I see. Will discuss on github then.

Loading...