Skip to content

Commit 868627e

Browse files
committed
implement most requested changes
1 parent cccbc7d commit 868627e

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
git
3838
make
3939
pkgconf
40-
mingw-w64-x86_64-pkgconf
4140
mingw-w64-x86_64-gcc
4241
mingw-w64-x86_64-tools
4342
- name: Install Dependencies
@@ -58,11 +57,8 @@ jobs:
5857
run: |
5958
export PATH="/usr/bin:/mingw64/bin:/c/FPC/3.2.2/bin:/c/FPC/3.2.2/bin/i386-win32:$PATH"
6059
export MAKE="/usr/bin/make"
61-
export PKG_CONFIG="/mingw64/bin/pkg-config"
62-
export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig"
6360
export FPCCFG="/c/FPC/3.2.2/bin/i386-win32/fpc.cfg"
6461
export FPCDIR="/c/FPC/3.2.2"
65-
export PPC="ppcrossx64"
6662
export FPCMAKE="/c/FPC/3.2.2/bin/i386-win32/fpcmake"
6763
./autogen.sh
6864
./configure

COMPILING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ Optional libraries:
4343

4444
#### Windows using MSYS2
4545
- Install [MSYS2](https://www.msys2.org)
46-
- Install [FPC](https://www.freepascal.org). Use the Win32 cross-to-Win64 installer so you get `ppcrossx64` and the Win64 RTL units.
47-
- `pacman -S autoconf-wrapper automake-wrapper gcc git make mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-lua mingw-w64-x86_64-pkgconf pkgconf`
46+
- Install [FPC](https://www.freepascal.org). Use the Win32 cross-to-Win64 installer so you get the Win64 RTL units.
47+
- `pacman -S autoconf-wrapper automake-wrapper git make mingw-w64-x86_64-gcc mingw-w64-x86_64-tools`
4848
- Add some information to `.bash_profile`:
4949
* Path to the cross compiler: `PATH="${PATH}:/c/FPC/3.2.2/bin/i386-win32"`
5050
* FPC config and base: `FPCCFG="/c/FPC/3.2.2/bin/i386-win32/fpc.cfg"` and `FPCDIR="/c/FPC/3.2.2"`
51-
* mingw64 pkg-config path: `PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig"`
52-
* (Optional) pin the compiler: `PPC="ppcrossx64"`
5351

5452
### Compile and run
5553
- `git clone https://github.com/UltraStar-Deluxe/USDX`
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
USDXResCompiler.exe UltraStar.rc
22

3-
C:\lazarus\fpc\2.0.4\bin\i386-win32\ppcx64.exe -S2cgi -OG1 -gl -vewnhi -l -Filib\JEDI-SDLv1.0\SDL\Pas\ -Fuc:\lazarus\components\jpeg\lib\i386-win32\ -Fuc:\lazarus\components\images\lib\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\win32\ -Fuc:\lazarus\packager\units\i386-win32\ -Fu. -oUltraStar.exe -dLCL -dLCLwin32 UltraStar.lpr
3+
C:\lazarus\fpc\2.0.4\bin\i386-win32\ppc386.exe -S2cgi -OG1 -gl -vewnhi -l -Filib\JEDI-SDLv1.0\SDL\Pas\ -Fuc:\lazarus\components\jpeg\lib\i386-win32\ -Fuc:\lazarus\components\images\lib\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\win32\ -Fuc:\lazarus\packager\units\i386-win32\ -Fu. -oUltraStar.exe -dLCL -dLCLwin32 UltraStar.lpr

0 commit comments

Comments
 (0)