Jack Jansen wrote: > Aha! > Now I think I start to understand why I had a lot of problems > building ffmpeg with cegcc: the assembly files didn't compile. So > apparently the ffmpeg developers used a different gcc-based toolchain > which has an assembler with a different syntax. >
Of course they did, unless every ffmpeg developer is developing for WinCE ... What sort of problems? Within the same architecture gas usually implements the same syntax for every target, except for the directives part. elf supports a different set of directives than coff does. Usually people writing the arm assembly don't think about coff much, since arm-coff is mostly dead ... except for WinCE, which is a PE/COFF target. Were you perhaps seeing errors related to elf's .size and .type directives? > I had the same problem again when building for the iPod/iPhone: here > the assembler also gave me errors, but they were completely different > from the errors I got when building for CE. So after reading this > message I wonder whether the assemblers come from completely > different heritage... > > Is anyone else having similar problems? And, even better, did anyone > find solutions? I get the impression here that people expect the tools should eat everything they are fed. Assembly level programming is by nature tied to the target system/OS/architecture. If the assembler was complaining, the sources need porting work. -- Pedro Alves ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel