Comments (10)
Ah shit, misclicked. Can you try with -m
? Change it on line 68 or just pull the latest commit. Seems to work on the VM.
Don't forget to run clean
before you rebuild as well to get rid of the 64-bit objects.
from perfect_dark.
Absolutely no reason, that's just how I have it set up locally. I do development in a 32-bit MinGW environment on Windows, so when I was testing it on Linux I set it up essentially the same way. Will probably change later.
from perfect_dark.
Ah, okay. Thanks for supporting Linux.
from perfect_dark.
Made it default to host gcc with -m32
on Linux specifically. Old behavior can be achieved by specifying TOOLCHAIN=i686-linux-gnu-
on the command line. Thanks for the suggestion.
Note that you still have to pass TARGET_PLATFORM=i686-linux
when building on x86_64.
from perfect_dark.
It is broken now. Ends up dying at invitems.c, lots of errors about initializer element is not computable at load time
. -std=c11 is getting passed so I don't know why this is happening.
EDIT: the file command is showing that the .o files are 64-bit and -m32 isn't being passed to gcc.
from perfect_dark.
How are you invoking make
?
Should be something like make -f Makefile.port TARGET_PLATFORM=i686-linux
.
Also can you give me the output of uname -p
and uname -s
?
from perfect_dark.
make -f Makefile.port
I have tried with TARGET_PLATFORM=i686-linux and it does the same thing.
uname -p: unknown
uname -s: Linux
I think uname -p is unreliable. The -m flag returns x86_64
.
from perfect_dark.
I think uname -p is unreliable. The -m flag returns x86_64.
Yeah, probably. I've only tested it on one Ubuntu VM and there it does indeed return x86_64
. Under MSYS it does return unknown
, but there I just check for MINGW64
instead.
from perfect_dark.
$ make -f Makefile.port
Host platform: x86_64-linux
Target platform: x86_64-linux
Makefile.port:89: *** 64-bit target platforms are not supported yet. Stop.
Adding TARGET_PLATFORM=i686-linux works.
from perfect_dark.
Okay, cool, that's basically the intended behavior. Thanks for testing.
from perfect_dark.
Related Issues (20)
- [BUG] Building issues... HOT 2
- [Bug] As you respawn, if you die while the gun pickup animation plays (Start Armed enabled) you hold it in death
- Allow rebinding of look keys HOT 2
- xbox controller control while window out of focus HOT 3
- [Feature Request] Add retexture and Model replacement support using .md5mesh HOT 5
- Can't map C-buttons while mapping key bindings HOT 4
- Key binding to Xbox wireless controller HOT 1
- Game window sometimes losing focus and becoming uncontrollable HOT 2
- [Feature Request] Manually Select Player's Splitscreen Placement HOT 1
- Can't copy saved games over HOT 2
- Keyboard Input for Text Entry
- Weapon that passes through walls at certain levels HOT 3
- How do I set N64 analog stick sensitivity? HOT 2
- [Feature Request] Weapon Nicknames HOT 3
- A blue line appears on the up screen, accompanied by a small light HOT 2
- Weird light reflexions on glass HOT 4
- [Feature Request] Imitate the Transfer Pak functionality of the original N64 game HOT 1
- Add or restore face mapping HOT 9
- Can't use modded ROMs for the PC port HOT 2
- Slackware(64) 15.0 - I Cant compile net-port version. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfect_dark.