[eside-ghost] Re: Re:Programar PSP desde linux

Unai Orbe uorbe001 en gmail.com
Lun Feb 25 21:17:57 CET 2008


He probado con tu makefile pero no me funciona me da mil errorres en un
simple helloword que, comparando con 2 que he visto por internet tiene que
estar bien...(supongo que ese es el problema, que es un simple
helloworld...)
Tambien he probado a añadir la linea de PSPBIN a mi makefile, pero eso
tampoco funciona sigue dando el mismo error.


2008/2/25, Tarkil <phantomquest en gmail.com>:
>
> A simple vista creo que te falta la línea de PSPBIN. No obstante te paso
> un makefile mio que uso para compilar aplicaciones que hagan uso de la SDL y
> que además te sirve para compilar clases si usas c++
>
> TARGET = Sdl_Example
> PSPSDK = $(shell psp-config --pspsdk-path)
> PSPBIN = $(shell psp-config --psp-prefix)/bin
> SDL_CONFIG = $(PSPBIN)/sdl-config
> OBJS =  main.o dibujar.o
>
> DEFAULT_CFLAGS = $(shell $(SDL_CONFIG) --cflags)
>
> MORE_CFLAGS = -G0 -O2 -DPSP
>
> CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
> CXXFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -fno-exceptions
> LIBS = -lSDL_gfx -lSDL_image -lSDL_mixer -lSDL_ttf -lvorbisidec \
>        -lfreetype -lpng -ljpeg -lz -lm $(shell $(SDL_CONFIG) --libs)
> -lstdc++
>
> EXTRA_TARGETS = EBOOT.PBP
>
> include $(PSPSDK)/lib/build.mak
>
> Message: 2
> > Date: Mon, 25 Feb 2008 19:15:19 +0100
> > From: "Unai Orbe" <uorbe001 en gmail.com>
> > Subject: Re: [eside-ghost] Re: Re:Programar PSP desde linux
> > To: "Lista de eside-ghost" <eside-ghost en deusto.es>
> > Message-ID:
> >         <28a4bf670802251015u2c4e155ardc9c3356a34b2de7 en mail.gmail.com>
> > Content-Type: text/plain; charset="windows-1252"
> >
> > Eskerrik!
> > Ahora tengo un problemilla raro con el Makefile que necesito para
> > compilar,
> > he intentado poner uno que he econtrado en internet que viene a ser
> > esto:
> >
> > TARGET = hello
> > >
> > OBJS = main.o
> > >
> > CFLAGS = -O2 -G0 -Wall
> > >
> > CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
> > >
> > ASFLAGS = $(CFLAGS)
> > >
> > EXTRA_TARGETS = EBOOT.PBP
> > >
> > PSP_EBOOT_TITLE = HelloWorld
> > >
> > PSPSDK=$(shell psp-config –pspsdk-path)
> > >
> > include $(PSPSDK)/lib/build.mak
> > >
> > Usage: psp-config [opts]
> >
> >
> > Realmente no entiendo como tiene que ser el Makefile :S. El problema es
> > que
> > si intento compilar (con make en la misma carpeta en la que estan en
> > programa main.c y el makefile me da estos errores:
> >
> > Options:
> > >
> > -p, --pspsdk-path       : Print the base directory of PSPSDK
> > >
> > -d, --pspdev-path       : Print the base install directory
> > >
> > -P, --psp-prefix        : Print the prefix of PSP-hosted software
> > >
> > Makefile:9: /lib/build.mak: No such file or directory
> > >
> > make: *** No rule to make target `/lib/build.mak'.  Stop.
> > >
> >
> > Alguna pista de lo que podria ser o que pinta deberia tener el makefile?
> > Aguur!
> > ------------ próxima parte ------------
> > Se ha borrado un adjunto en formato HTML...
> > URL:
> > https://listas.deusto.es/mailman/private/eside-ghost/attachments/20080225/2b96ee3d/attachment-0001.htm
> >
> >
>
> _______________________________________________
> eside-ghost mailing list
> eside-ghost en deusto.es
> https://listas.deusto.es/mailman/listinfo/eside-ghost
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://listas.deusto.es/mailman/private/eside-ghost/attachments/20080225/53df702d/attachment-0001.htm


Más información sobre la lista de distribución eside-ghost