This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
rick>> We want configure options, or makefile targets, that cause the
cross-compiler to be built, such that it is only capable of
producing object files or assembly language files, from the 'C'
code.
yes, what is needed is a '--bootstrap' option, this could/should be
used to disable a number of checks (ie: Looking for headers) etc and
disable other silly things that configure does in this situation.
Maybe this should have some options - like:
--bootstrap [default no-nothing]
--bootstrap=no-headers vrs have-headers
--bootstrap=no-c++headers vrs have-c++headers
--bootstrap=no-as vrs have-as
--bootstrap=no-ld vrs have-ld
--bootstrap=no-ar vrs have-ar
that tells the system what is missing or not available.
rick>> Ever tried figuring out what all the possible makefile targets
are? ;=)
and - yes we need some specific makefile targets.
It's nice that the makefile has things like
make xgcc$(exeext)
It needs some more.
The *PRIMARY* problem target is 'install-common' in the gcc/Makefile
it is just one big huge monster that has too many dependancies and
does too much. It should be broken up into seperate targets.
Specifically look at:
GCC 2.95.2 gcc/Makefile.in - line: 2503
GCC 3.2 gcc/Makefile.in - line: 2583
One possible solution would be this:
1) Break install-common into several targets.
ie: install-compilers
ie: install-extra-parts [needs breaking too]
ie: install-extra-passes
ie: install-extra-programs
ie: install-protoize
ie: install-cpp
ie: install-gcov
ie: install-gccbug
2) Then - create a bootstrap-install target that pulls out
a few of the speicalized targets.
ie: bootstrap-install-compilers
bootstrap-install-WHATEVER
--Duane.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |