[eside-ghost] Re: Re:Programar PSP desde linux
Unai Orbe
uorbe001 en gmail.com
Lun Feb 25 22:33:10 CET 2008
Lo de tu makefile seria por lo que dices, que no tengo nada de sdl instalado
(todavia no llego a tanto ^^, pero me lo guardo para futuros experimentos)
pero weno, he probado con el makefile del link que me has pasado y funciona
perfecto asique muchas gracias :D
Ya he echo mi primer helloword de psp!! XD
Aguuuurr
El día 25/02/08, Tarkil <phantomquest en gmail.com> escribió:
>
>
> Hombre puede que este mal instalado el entorno :S. Pero mi makefile
> compila que lo he probado antes de mandártelo, pero para que tire tienes que
> haber instalado las liberías de la SDL & cia que van a parte. De todas
> formas te envío este link en el cual te puedes bajar un programa tipo hello
> world de prueba para psp con dos Makefile uno para la 1.5 y otro para la
> 3.xx
>
>
> http://zx81.zx81.free.fr/serendipity/index.php?/archives/223-Want-to-port-your-homebrew-to-Fw-3X-PSP-SLIM.html
>
> Un saludo
>
> David
>
> Message: 3
> > Date: Mon, 25 Feb 2008 21:17:57 +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:
> > <28a4bf670802251217t4502e313x3d44046cde2f24a8 en mail.gmail.com>
> > Content-Type: text/plain; charset="windows-1252"
> >
> > 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.htm
> >
> > ------------------------------
> >
> > _______________________________________________
> > eside-ghost mailing list
> > eside-ghost en deusto.es
> > https://listas.deusto.es/mailman/listinfo/eside-ghost
> >
> > Fin de Resumen de eside-ghost, Vol 46, Envío 58
> > ***********************************************
> >
>
>
> _______________________________________________
> 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/38494b22/attachment-0001.htm
Más información sobre la lista de distribución eside-ghost