-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgccenv.bat
More file actions
52 lines (36 loc) · 1.26 KB
/
gccenv.bat
File metadata and controls
52 lines (36 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
:L2
@rem
@rem set for windows 10
@rem
@set PATH=%PATH%;C:\Program Files (x86)\Dev-Cpp\MinGW64\bin;C:\Program Files (x86)\Dev-Cpp\MinGW64\libexec\gcc\x86_64-w64-mingw32\4.9.2;C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin;
goto last_message_L
:HELP_L
@echo =============================================================================
@echo devenv.bat , __T( set devC++ environment )
@echo,
@echo =============================================================================
@echo Usage: devenv.bat
@echo ex: devenv.bat ? ; help(this)
@echo ex: devenv.bat ; set dev env for gcc building ( xp / 1x )
:last_message_L
@echo =============================================================================
@echo you can run gcc.exe or mingw32-make.exe
@echo,
@echo To build x32
@echo gcc -m32 file.c -o file.exe
@echo,
@echo To build x64
@echo gcc file.c -o file.exe
@echo,
@echo To build compatible -m32 application,
@echo mingw32-make.exe -f Makefile.win app=file-name-without-ext-here
@echo,
@echo To clean,
@echo,
@echo mingw32-make.exe -f Makefile.win clean app=file-name-without-ext-here
@echo,
@echo =============================================================================
goto end_L
:error_L
:end_L