Dear Timur Tabi, In message <[email protected]> you wrote: > > > we add support to U-Boot to conditionally check for the gcc version like > > Linux to know when to use -fno-toplevel-reorder? =A0Or do we use a linker > > script that would support more versions of gcc at the cost of more > > complexity? > > What happens if you use the flag on earlier versions of gcc? If the > flag is just silently ignored, then maybe it's not such a big deal to > always include it, and just add a comment saying that it only works on > gcc 4.2 or higher?
It raises an error. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] If I can have honesty, it's easier to overlook mistakes. -- Kirk, "Space Seed", stardate 3141.9 _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

