<@U01819B63HP> I am trying to install ngspice , bu...
# xschem
r
@User I am trying to install ngspice , but make is throwing below error : CC alloc.lo CC getopt_long_bsd.lo CC dup2.lo CC dstring.lo gcc: error: unrecognized command line option ‘-mwindows’ gcc: error: unrecognized command line option ‘-mwindows’ make[2]: * [Makefile466 dup2.lo] Error 1 make[2]: * Waiting for unfinished jobs.... gcc: error: unrecognized command line option ‘-mwindows’ gcc: error: unrecognized command line option ‘-mwindows’ make[2]: * [Makefile466 alloc.lo] Error 1 make[2]: * [Makefile466 getopt_long_bsd.lo] Error 1 make[2]: * [Makefile466 dstring.lo] Error 1 I tried to google it , and installed the recommended mingw-w64 package. But still issue exists. -- Any idea ?? Thanks
a
what platform? reproduction steps?
s
@User it seems you are building ngspice for windows. I don't have any windows so i can not help much. Also try to see ngspice support. If you are cross-compiling for windows from a linux machine you need to specify a different compiler to make, like
CC=...... make
. The mingw compiler could be something like
i686-w64-mingw32-gcc
, but i am definitely not the right person to ask for.
r
I am compiling this in ubuntu virtualbox...
Let me check