Generate collect2 targets in bfin-xxx-gcc

Source: Internet
Author: User
Tags intl

 

Happy shrimp

Http://blog.csdn.net/lights_joy/

Lights@hb165.com

 

 

This article applies

Gcc- 4.3.1

Configure-target = bfin-uClinux-GNU

Blackfin series DSPs

Cygwin gcc 3.4.4

 

Reprinted, but keep the author information

 

This rule is defined:

Collect2 $ (exeext): $ (collect2_objs) $ (libdeps)

# Don't try modifying collect2 (aka LD) in place -- it might be linking this.

$ (CC) $ (all_cflags) $ (ldflags)-o t $ @/

$ (Collect2_objs) $ (libs) $ (collect2_libs)

MV-f t $ @

.

Collect2_objs = collect2.o tlink. O intl. o version. o

1.1.1.1 collect2.o

This rule is defined:

Collect2.o: collect2.c $ (config_h) $ (system_h) coretypes. h $ (tm_h) intl. h/

$ (Obstack_h) $ (demangle_h) collect2.h version. h

$ (CC) $ (all_cflags) $ (all_cppflags )/

-Dtarget_machine =/"$ (target_noncanonical )/"/

-C $ (srcdir)/collect2.c $ (output_option)

All required targets have been generated. compile them directly.

 

1.1.1.2 tlink. o

This file applies to general rules:

. C. O:

$ (CC)-C $ (all_cflags) $ (all_cppflags) $ <$ (output_option );/

There are also the following dependencies:

Tlink. O: tlink. C $ (demangle_h) $ (hashtab_h) $ (config_h) $ (system_h) coretypes. h $ (tm_h )/

$ (Obstack_h) collect2.h intl. h

As all required targets have been generated, compile them directly.

 

 

References

Host-i686-pc-cygwin/libiberty/makefile Parsing( 2008-8-19 )

Host-i686-pc-cygwin/fixdocumdes/makefile analysis ( 2008-8-19 )

Host-i686-pc-cygwin/zlib/makefile analysis ( 2008-8-19 )

Host-i686-pc-cygwin/libcpp/makefile analysis ( 2008-8-19 )

Host-i686-pc-cygwin/libdecnumber/makefile Analysis( 2008-8-19 )

Generation of cc1plus.exe in bfin-xxx-gcc( 2008-08-23 )

Generation of FORTRAN targets in bfin-xxx-gcc( )

Java target generation in bfin-xxx-gcc( )

Generation of the objc target in bfin-xxx-gcc( 2008-8-26 )

 

 

 

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.