I already made some apps in .c and it works fine, but when i want to compile .cpp files, well everything compiles but after I get this error, and of course the resulting epb file doesn't work.
Help would be greatly appreciated as I would really be happy to be able to use classes and stuff.
Here's the Makefile:
TARGET = c++
OBJS = main.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS = -lpspaudiolib -lpspaudio -lstdc++
EXTRA_TARGETS = EBOOT.PBP kxploit
PSP_EBOOT_TITLE = C++
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
------------------------
and here's what I get when compiling:
psp-g++ ... compiling
psp-gcc ... linking
psp-fixup-imports c++.elf
Error, no sceModuleInfo section found
mksfo 'C++' PARAM.SFO etc