Different compilers have different results for the same Kernel configuration.

Source: Internet
Author: User
Tags posix

The Da Vinci kernel provided by Da Vinci can be compiled in version 3.4.3 below

[Root @ localhost el6446_kernel] # arm_v5t_le-gcc-V

Reading specs from/opt/mv_pro_4.0/montavista/Pro/devkit/ARM/v5t_le/bin/../lib/GCC/armv5tl-montavista-linuxeabi/3.4.3/specs
Configured :.. /configure -- Host = i686-pc-linux-gnu -- target = armv5tl-montavista-linuxeabi -- prefix =/opt/montavista/Foundation/devkit/ARM/v5t_le -- Exec-Prefix =/opt/montavista/Foundation/devkit/ARM /v5t_le -- bindir =/opt/montavista/Foundation/devkit/ARM/v5t_le/bin
-- Sbindir =/opt/montavista/Foundation/devkit/ARM/v5t_le/sbin -- sysconfdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/etc -- datadir =/opt/ montavista/Foundation/devkit/ARM/v5t_le/share -- includedir =/opt/montavista/Foundation/devkit/ARM/v5t_le/include -- libdir =/opt/montavista/Foundation/devkit/ ARM/v5t_le/lib
-- Libexecdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/libexec -- localstatedir =/opt/montavista/Foundation/devkit/ARM/v5t_le/var -- sharedstatedir =/opt/ montavista/Foundation/devkit/ARM/v5t_le/share -- Mandir =/opt/montavista/Foundation/devkit/ARM/v5t_le/man
-- Infodir =/opt/montavista/Foundation/devkit/ARM/v5t_le/info -- Build = i686-pc-linux-gnu -- Program-transform-name = s, ^, arm_v5t_le -, -- enable-cross -- With-sysroot =/opt/montavista/Foundation/devkit/ARM/v5t_le/target -- enable-shared -- enable-ages = C, c ++ -- enable-_ cxa_atexit
-- Enable-threads = POSIX -- disable-multilib -- With-gxx-include-Dir =$ {prefix}/lib/GCC/armv5tl-montavista-linuxeabi/3.4.3 /.. /.. /.. /.. /target/usr/include/C ++/3.4.3 -- With-NUMA-policy = yes -- With-float = soft -- With-CPU = arm10tdmi -- With-interwork -- With-arch = armv5t
-- With-tune = arm10tdmi -- libexecdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/lib
Thread model: POSIX
GCC version 3.4.3 (FIG)

The uimage file is generated.

However

[Root @ embedsky root] # arm_v5t_le-gcc-V
Use built-in specs.
Goals: armv5tl-montavista-linux-gnueabi
Configuration :.. /configure -- Host = i686-pc-linux-gnu -- Build = i686-pc-linux-gnu -- target = armv5tl-montavista-linux-gnueabi -- prefix =/opt/montavista/Foundation/devkit/ARM/v5t_le -- Exec-Prefix =/opt/montavista/Foundation /devkit/ARM/v5t_le -- bindir =/opt/montavista/Foundation/devkit/ARM/v5t_le/bin
-- Sbindir =/opt/montavista/Foundation/devkit/ARM/v5t_le/sbin -- sysconfdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/etc -- datadir =/opt/ montavista/Foundation/devkit/ARM/v5t_le/share -- includedir =/opt/montavista/Foundation/devkit/ARM/v5t_le/include -- libdir =/opt/montavista/Foundation/devkit/ ARM/v5t_le/lib
-- Libexecdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/libexec -- localstatedir =/opt/montavista/Foundation/devkit/ARM/v5t_le/var -- sharedstatedir =/opt/ montavista/Foundation/devkit/ARM/v5t_le/share -- Mandir =/opt/montavista/Foundation/devkit/ARM/v5t_le/man
-- Infodir =/opt/montavista/Foundation/devkit/ARM/v5t_le/info -- Build = i686-pc-linux-gnu -- Program-transform-name = s, ^, arm_v5t_le -, -- enable-cross -- enable-poison-system-directories -- With-sysroot =/opt/montavista/Foundation/devkit/ARM/v5t_le/target -- With-Build-sysroot =/OPT /montavista/Foundation/devkit/ARM/v5t_le/Target
-- With-Build-time-tools =/opt/montavista/Foundation/devkit/ARM/v5t_le/bin -- enable-shared -- enable-versions ages = C, c ++ -- enable-_ cxa_atexit -- enable-c99 -- enable-Long-long -- enable-threads = POSIX -- With-gxx-include-Dir =/opt/montavista/Foundation/devkit /ARM/v5t_le/lib/GCC/armv5tl-montavista-linux-gnueabi/4.2.0 /.. /.. /.. /.. /target/usr/include/C ++/4.2.0
-- Disable-libmudflap -- disable-libssp -- disable-libgomp -- With-GNU-as -- With-GNU-LD -- enable-symvers = GNU -- enable-checking = release -- With-NUMA -Policy = yes -- disable-multilib -- enable-clocale = GNU -- With-float = soft -- With-CPU = arm10tdmi -- With-interwork -- With-arch = armv5t
-- With-tune = arm10tdmi -- libexecdir =/opt/montavista/Foundation/devkit/ARM/v5t_le/lib -- With-bugurl = http://www.mvista.com/support -- With-versuffix = 'montavista 4.2.0-limit 2008-08-30'
Thread model: POSIX
GCC version 4.2.0 (montavista 4.2.0-16.0.32.0801914 2008-08-30)

This version cannot be compiled, but the specific reasons are unclear.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.