[En-Nut-Discussion] GCC optimizations

Harald Kipp harald.kipp at egnite.de
Mon Mar 16 19:40:15 CET 2009


Gosh, I forgot

5. The same configure options

Harald Kipp wrote:
> Coleman Brumley wrote:
>> Would the gcc built for Linux work any differently?  
> 
> Two gcc builds for Linux will provide two different results, unless they use
> 
> 1. The same GCC version
> 2. The same binutils version
> 3. The same runtime library version (typically newlib)
> 4. The same patches
> 
> Item 4 is a critical one. Several times I built a toolchain from source
> packages, but didn't apply all the required patches. It still worked
> find for me, but may have failed with other code, other compile options
> or other linker options.
> 
> If all four items are the same, there _should_ be no difference between
> toolchains built under Windows, Linux or OS X. In very rare cases the
> different APIs provided by the OS may have an impact on the target
> binary. But that should be considered a bug, or, more trendy, an issue.
> 
> Harald
> 
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion

-- 
egnite GmbH
Erinstr. 9
44575 Castrop-Rauxel
Germany

Fon +49 (0)23 05-44 12 56
Fax +49 (0)23 05-44 14 87

http://www.egnite.de/
http://www.ethernut.de/

Handelsregister: Amtsgericht Dortmund HRB 19783
USt-IdNr.: DE 189520047
Geschäftsführung: Harald Kipp




More information about the En-Nut-Discussion mailing list