GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Compile everything with "g++" and link statically. · vxcontrol/MemoryModule@b8125d0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • example
    • DllLoader
      • Makefile
    • SampleDLL
      • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎example/DllLoader/Makefile‎

Copy file name to clipboardExpand all lines: example/DllLoader/Makefile
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ ifeq ($(UNAME), Linux)
44
ifndef PLATFORM
55
PLATFORM = i686
66
endif
7-
CC = $(PLATFORM)-w64-mingw32-gcc
7+
CC = $(PLATFORM)-w64-mingw32-g++
88
CXX = $(PLATFORM)-w64-mingw32-g++
99
LINK = $(PLATFORM)-w64-mingw32-ld
1010
else
11-
CC = gcc
11+
CC = g++
1212
CXX = g++
1313
LINK = ld
1414
endif
1515

1616
RM = rm
1717
CFLAGS = -Wall -g
18-
LDFLAGS =
18+
LDFLAGS = -static
1919

2020
ifdef UNICODE
2121
CFLAGS += -DUNICODE -D_UNICODE
Collapse file

‎example/SampleDLL/Makefile‎

Copy file name to clipboardExpand all lines: example/SampleDLL/Makefile
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ifeq ($(UNAME), Linux)
44
ifndef PLATFORM
55
PLATFORM = i686
66
endif
7-
CC = $(PLATFORM)-w64-mingw32-gcc
7+
CC = $(PLATFORM)-w64-mingw32-g++
88
CXX = $(PLATFORM)-w64-mingw32-g++
99
LINK = $(PLATFORM)-w64-mingw32-ld
1010
RC = $(PLATFORM)-w64-mingw32-windres
1111
else
12-
CC = gcc
12+
CC = g++
1313
CXX = g++
1414
LINK = ld
1515
RC = rc

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.