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 )