- Subject: Re: [jed-users] compiling jed under windows 7
- From: andrew clarke <mail@xxxxxxxxxxxx>
- Date: Mon, 7 Apr 2014 04:33:23 +1000
On Sun 2014-04-06 18:37:32 UTC+0100, frank (y199mp1505@xxxxxxxxx) wrote:
> Hello Folks,
>
> when trying to compile jed under Windows 7 Professional 64bit with
> mingw32, the first stumbling block is slang-pre2.3.0-111.
>
> For it, m32init.bat succeeds but mingw32-make.exe fails:
>
> C:\Program Files (x86)\slang-pre2.3.0-111>mingw32-make
> mingw32-make: *** No rule to make target `copy.exe', needed by `Note'.
> Stop.
"Note" shouldn't be a target here. Somehow you've got a broken makefile?
> C:\Program Files (x86)\slang-pre2.3.0-111>mingw32-make Makefile
> mingw32-make: Nothing to be done for `Makefile'.
The correct syntax is "mingw32-make -f Makefile" but "Makefile" is the
default anyway so the -f switch is redundant here.
> Running mingw32-make with the switch --debug does not help at all.
"make" with the -n switch lists all the commands Make will run without
actually running them.
So, run "mingw32-make -n > blah.txt" then open blah.txt in Notepad.
The first line should be:
cd src && mingw32-make COPY="cmd /c copy /y" RM=del prefix=C:/mingw/local
> Any suggestions?
It builds here without trouble using MinGW from Code::Blocks 13.12.
C:\src\slang-pre2.3.0-113>"\Program Files\CodeBlocks\MinGW\mingwvars.bat"
Setting up environment for using MinGW with GCC from C:\Program Files\CodeBlocks\MinGW\.
C:\src\slang-pre2.3.0-113>mkfiles\m32init.bat
- generating Makefile in src...
- generating Makefile in slsh...
- generating Makefile in modules...
1 file(s) copied.
-
Now run mingw32-make to build the library. But first, you should
look at Makefile and change the installation locations if
necessary.
-
C:\src\slang-pre2.3.0-113>mingw32-make
cd src && mingw32-make COPY="cmd /c copy /y" RM=del
prefix=C:/mingw/local
mingw32-make[1]: Entering directory C:/src/slang-pre2.3.0-113/src'
gcc -c -DWIN32 -DSLANG_DLL=1 -O2 -W -Wall -o gw32objs/slang.o ./slang.c
./slang.c: In function 'lang_do_loops':
./slang.c:3902:13: warning: 'first' may be used uninitialized in this
function [-Wmaybe-uninitialized]
./slang.c:3902:13: warning: 'last' may be used uninitialized in this
function [-Wmaybe-uninitialized]
gcc -c -DWIN32 -DSLANG_DLL=1 -O2 -W -Wall -o gw32objs/slarray.o
./slarray.c
[...]
gcc -c -DWIN32 -O2 -W -Wall -DSLANG_DLL=1 -I../src json-module.c
json-module.c: In function 'parse_and_push_object_as_struct':
json-module.c:779:21: warning: 'h' may be used uninitialized in this
function [-Wmaybe-uninitialized]
gcc -s -shared -o json-module.dll json-module.o -L../src/gw32objs
-lslang -luser32
mingw32-make[2]: Leaving directory C:/src/slang-pre2.3.0-113/modules'
mingw32-make[1]: Leaving directory C:/src/slang-pre2.3.0-113/modules'
.
To install it, run mingw32-make install.
.
Regards
Andrew
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.
[2014 date index]
[2014 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]