Re: libxvidcore OS4 port (source code changes)
Fredrik Wikstrom <[email protected]> Fri, 05 Jun 2009 12:45:35 +0300
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks for including my code changes. I just build the CVS version and it compiled without problems. I've also had to change the Makefile and platform.inc so that the -maltivec -mabi=altivec flags are only used on files with altivec, otherwise gcc 4.2.4 generates altivec code by itself in other files breaking the build on non-altivec systems. My system has an AMCC 440EP CPU, which doesn't have an Altivec unit. My solution was to remove these flags from SPECIFIC_CFLAGS, create a variable ALTIVEC_CFLAGS with them in the platform.inc file and then add the following rule to the Makefile: $(PPC_ALTIVEC_OBJECTS): CFLAGS+= $(ALTIVEC_CFLAGS) AFAIK this problem should also affect other PPC-based platforms. Regards, Fredrik Wikstrom Michael Militzer wrote: > Hi, > > thanks for the port. I've committed your patch (with some modifications) > to the xvid HEAD branch. So you may want to recheck whether xvid HEAD now > properly compiles on AmigaOS 4. > > Regards, > Michael > > > Quoting Fredrik Wikstrom <[email protected]>: > > >> Hi, >> >> I have ported the libxvidcore library to AmigaOS 4. >> >> I've attached diffs of the source code changes I made. Would be nice if >> they were included in the official xvidcore sources. >> >> The diffs are made against the version 1.2.2 release. >> >> Best Regards, >> Fredrik Wikstrom >> > > > > > > > _______________________________________________ > Xvid-devel mailing list > [email protected] > http://list.xvid.org/mailman/listinfo/xvid-devel >