devkitPPC release 34

Latest devkitPro news and announcements
Post Reply
WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

devkitPPC release 34

Post by WinterMute » Mon Feb 11, 2019 9:46 pm

devkitPPC release 34 is now available via pacman. Use sudo (dkp-)pacman -Syu to update or sudo (dkp-)pacman -S devkitPPC to install.

devkitPPC release 34
  • fix struct timeval issue properly
  • update to binutils 2.32
  • remove old -mwup options in favour of external linkscripts & support for libwut
  • remove rules files in favour of separate devkitppc-rules package for easier updates.
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: devkitPPC release 34

Post by nebiun » Tue Feb 12, 2019 9:41 pm

And old makefiles now does not work because you are changed PORTLIBS value... :(
From:
/opt/devkitpro/portlibs/ppc
to:
/opt/devkitpro/portlibs/wii /opt/devkitpro/portlibs/ppc

Code: Select all

#---------------------------------------------------------------------------------
# build a list of include paths
#---------------------------------------------------------------------------------
export INCLUDE	:=	$(foreach dir,$(INCLUDES), -iquote $(CURDIR)/$(dir)) \
					$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
					-I$(CURDIR)/include \
					-I$(PORTLIBS)/include \
					-I$(LIBOGC_INC)

#---------------------------------------------------------------------------------
# build a list of library paths
#---------------------------------------------------------------------------------
export LIBPATHS	:=	$(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
					-L$(PORTLIBS)/lib -L$(LIBOGC_LIB)

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: devkitPPC release 34

Post by nebiun » Tue Feb 12, 2019 10:03 pm

This is the modified version of previous Makefile

Code: Select all

#---------------------------------------------------------------------------------
# build a list of include paths
#---------------------------------------------------------------------------------
export INCLUDE	:=	$(foreach dir,$(INCLUDES), -iquote $(CURDIR)/$(dir)) \
					$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
					-I$(CURDIR)/include \
					$(foreach dir,$(PORTLIBS),-I$(dir)/include) \
					-I$(LIBOGC_INC)

#---------------------------------------------------------------------------------
# build a list of library paths
#---------------------------------------------------------------------------------
export LIBPATHS	:=	$(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
					$(foreach dir,$(PORTLIBS),-L$(dir)/lib) \
					-L$(LIBOGC_LIB)

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: devkitPPC release 34

Post by WinterMute » Wed Feb 13, 2019 9:29 am

Where did you get that from? That's not how you're supposed to use PORTLIBS.

https://github.com/devkitPro/wii-exampl ... kefile#L42

Code: Select all

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS	:= $(PORTLIBS)
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: devkitPPC release 34

Post by nebiun » Wed Feb 13, 2019 2:25 pm

WinterMute wrote: Wed Feb 13, 2019 9:29 am Where did you get that from? That's not how you're supposed to use PORTLIBS.
:oops:
I will change all my Makefile...

Question:
/opt/devkitpro/portlibs/wii
is a new directory for users libs and include?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: devkitPPC release 34

Post by WinterMute » Wed Feb 13, 2019 9:05 pm

nebiun wrote: Wed Feb 13, 2019 2:25 pm
Question:
/opt/devkitpro/portlibs/wii
is a new directory for users libs and include?
No. There should be nothing installed inside the devkitpro folder that hasn't been released by devkitPro.
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: devkitPPC release 34

Post by nebiun » Wed Feb 13, 2019 9:38 pm

WinterMute wrote: Wed Feb 13, 2019 9:05 pm
nebiun wrote: Wed Feb 13, 2019 2:25 pm
Question:
/opt/devkitpro/portlibs/wii
is a new directory for users libs and include?
No. There should be nothing installed inside the devkitpro folder that hasn't been released by devkitPro.
Really?
But where I can put libraries like libwiisprite, libml, libgrr and other libraries like these?
Why not in /opt/devkitpro/userlibs or similar?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: devkitPPC release 34

Post by WinterMute » Thu Feb 14, 2019 12:32 am

Having libraries inside the devkitpro folder implies that they're endorsed and/or recommended by us which, unless they're provided by our pacman, they're not.

We don't want to endorse libraries that do crazy things like use the GPU to plot pixels in order to draw text. We don't want to endorse libraries that use individual png files converted at runtime for each graphic used. These are just incredibly bad ways to manage resources and we'd like to discourage these practices.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests