View Single Post
Keeper
Senior Member
Join Date: Nov 2006
Old 07-15-2009 , 12:30   Re: Compiling for Linux with Cygwin
Reply With Quote #9

First off, remove the "\" from the end of the lines on line 62 & 70
Code:
LINK =-lm -ldl tier1_i486.a tier0_i486.so vstdlib_i486.so libpthread.so mathlib_i486.a \
choreoobjects_i486.a \
should be
Code:
LINK =-lm -ldl tier1_i486.a tier0_i486.so vstdlib_i486.so libpthread.so mathlib_i486.a \
choreoobjects_i486.a
and

Code:
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)/tier0 -I$(HL2PUB)/tier1 \
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(HL2SDK)/game_shared -I$(HL2SDK)/dlls \
-I$(SMM_ROOT) -I$(SMMH_ROOT) \
should be
Code:
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)/tier0 -I$(HL2PUB)/tier1 \
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(HL2SDK)/game_shared -I$(HL2SDK)/dlls \
-I$(SMM_ROOT) -I$(SMMH_ROOT)
And on line 32, why do you have CPP defined as:
Code:
CPP = $(DRIVE_PATH)/cygwin/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc
That should be something else I think.

Last edited by Keeper; 07-15-2009 at 12:35.
Keeper is offline