Skip to content

Commit

Permalink
Fixes for GCC 3.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Aug 15, 2015
1 parent a153582 commit 1d8062b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ee/erl/README.txt
Expand Up @@ -109,7 +109,7 @@
called, and during unloading, the _fini function is called. These two
functions are not to be exported by you. The code here is introduced by gcc
and ld "automagically" from the various crt*.o files that are in the gcc
directory: /usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2
directory: /usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.3

Even if some basic test code was run, there might be some problems linked to
the usage of non-ps2dev specific code. And don't even think about not having
Expand Down
6 changes: 6 additions & 0 deletions iop/sound/ps2snd/Makefile
Expand Up @@ -24,6 +24,12 @@ IOP_OBJS2 = ps2snd.o adpcm-stream.o imports.o
IOP_OBJS = $(IOP_OBJS2:%=$(IOP_OBJS_DIR)%)
endif

ifeq ($(IOP_CC_VERSION),3.2.3)
IOP_BIN = bin/ps2snd.irx
IOP_OBJS2 = ps2snd.o adpcm-stream.o imports.o
IOP_OBJS = $(IOP_OBJS2:%=$(IOP_OBJS_DIR)%)
endif

all: $(IOP_OBJS_DIR) $(IOP_BIN_DIR) $(IOP_BIN)

clean:
Expand Down
6 changes: 6 additions & 0 deletions samples/Makefile.iopglobal_sample
Expand Up @@ -18,6 +18,12 @@ ASFLAGS_TARGET = -march=r3000
LDFLAGS_TARGET = -miop
endif

ifeq ($(IOP_CC_VERSION),3.2.3)
CFLAGS_TARGET = -miop
ASFLAGS_TARGET = -march=r3000
LDFLAGS_TARGET = -miop
endif

# include dir
IOP_INCS := -I$(PS2SDK)/iop/include -I$(PS2SDK)/common/include \
-I. $(IOP_INCS)
Expand Down

0 comments on commit 1d8062b

Please sign in to comment.