well, i have coded a little application in C++, but it doesn't want to link.
It seems to be compiling quite well but at the time of the linking, it gives me lot of undefined references.
As far as i know i am linking with SDL correctly(i suppose).
The linking errors are known to me. They appear when no libstdc++ is detected. sometihn like:
"undefined reference for operator new"(sorry, it appears in spanish).
This is the makefile i am using.
I hope someone can help me. ThanksTARGET = biogb
SRCDIR = src
SOURCES = ${SRCDIR}/main.cpp \
${SRCDIR}/cGfx.cpp \
${SRCDIR}/cInput.cpp \
${SRCDIR}/cLibGfx.cpp \
${SRCDIR}/cNet.cpp \
${SRCDIR}/cSound.cpp \
${SRCDIR}/cCpu.cpp \
OBJS = ${SOURCES:.c=.o}
CFLAGS = -DLINUX -DUSE_SDL -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE =pspBioGB
PSPSDK=$(shell psp-config --pspsdk-path)
PSPBIN = $(PSPSDK)/../bin
CFLAGS += $(shell $(PSPBIN)/sdl-config --cflags)
LIBS += $(shell $(PSPBIN)/sdl-config --libs)
include $(PSPSDK)/lib/build.mak