| View previous topic :: View next topic |
| Author |
Message |
dark_hex
Joined: 02 Dec 2009 Posts: 18
|
Posted: Sun Jan 03, 2010 1:23 am Post subject: [Help] Problem in compiler |
|
|
Good, is this where I go to compile it asks me this error:
| Code: | psp-gcc.exe: _spawnvp: No such file or directory
MAKE: *** [main.o] Error 1 |
The environment variables are correct and I tried to reinstall but it is the same.
Someone knows how to solve this problem? |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sun Jan 03, 2010 1:47 am Post subject: |
|
|
Create the file or directory '_spawnvp' where ever it is supposed to be.
Without more information (what do you try to compile, what is your makefile...), there's nothing anyone here can do other than that. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
dark_hex
Joined: 02 Dec 2009 Posts: 18
|
Posted: Sun Jan 03, 2010 2:01 am Post subject: |
|
|
I'am tring compile an hello world.
Make:
[code]TARGET = Hello World
OBJS = crt0.o main.o
INCDIR = ../../include
CFLAGS = -O2 -G0 -Wall -fshort-wchar -fno-pic -mno-check-zero-division
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS) -c
LIBDIR = ../../lib
LDFLAGS = -mno-crt0 -nostdlib -nodefaultlibs
LIBS = -lpsprtc -lvlfgui -lvlfgu -lvlflibc -lpspsystemctrl_user
PSP_FW_VERSION = 150
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World
BUILD_PRX = 1
PSP_LARGE_MEMORY = 1
PSPSDK = $(shell psp-config --pspsdk-path)
include ./build.mak
[code]
But what do I put that file? '_spawnvp' |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Mon Jan 04, 2010 12:25 am Post subject: |
|
|
Just another makefile to compile your program it use the default c runtime of
libc so you are not obliged to provided a crt0.c
| Code: |
TARGET = main
OBJS = main.o
#
CFLAGS = -O2 -G2 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
#
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World
PSP_LARGE_MEMORY = 1
BUILD_PRX = 1
#
PSPSDK=$(shell psp-config --pspsdk-path)
#
|
|
|
| Back to top |
|
 |
|