2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay) * configure.in (v810*): Remove special setting of tools. * configure: Add support for extra required flags for ar or nm. * configure.in (aix4.3+): Use above support for target-specific issues, rather than using config/mt-aix43.
This commit is contained in:
parent
712e2a328d
commit
6ec2f0b6d6
|
@ -1,3 +1,12 @@
|
||||||
|
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
|
(Continuing slow-motion replay)
|
||||||
|
* configure.in (v810*): Remove special setting of tools.
|
||||||
|
|
||||||
|
* configure: Add support for extra required flags for ar or nm.
|
||||||
|
* configure.in (aix4.3+): Use above support for target-specific
|
||||||
|
issues, rather than using config/mt-aix43.
|
||||||
|
|
||||||
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
|
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
|
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
|
||||||
|
|
|
@ -936,6 +936,7 @@ t loop
|
||||||
|
|
||||||
AR=${AR-${host_alias}-ar}
|
AR=${AR-${host_alias}-ar}
|
||||||
AR_FOR_TARGET=${AR_FOR_TARGET-${target_alias}-ar}
|
AR_FOR_TARGET=${AR_FOR_TARGET-${target_alias}-ar}
|
||||||
|
AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
|
||||||
AS=${AS-${host_alias}-as}
|
AS=${AS-${host_alias}-as}
|
||||||
AS_FOR_TARGET=${AS_FOR_TARGET-${target_alias}-as}
|
AS_FOR_TARGET=${AS_FOR_TARGET-${target_alias}-as}
|
||||||
BISON=${BISON-bison}
|
BISON=${BISON-bison}
|
||||||
|
@ -957,6 +958,7 @@ t loop
|
||||||
MAKEINFO=${MAKEINFO-makeinfo}
|
MAKEINFO=${MAKEINFO-makeinfo}
|
||||||
NM=${NM-${host_alias}-nm}
|
NM=${NM-${host_alias}-nm}
|
||||||
NM_FOR_TARGET=${NM_FOR_TARGET-${target_alias}-nm}
|
NM_FOR_TARGET=${NM_FOR_TARGET-${target_alias}-nm}
|
||||||
|
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
||||||
RANLIB=${RANLIB-${host_alias}-ranlib}
|
RANLIB=${RANLIB-${host_alias}-ranlib}
|
||||||
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET-${target_alias}-ranlib}
|
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET-${target_alias}-ranlib}
|
||||||
WINDRES=${WINDRES-${host_alias}-windres}
|
WINDRES=${WINDRES-${host_alias}-windres}
|
||||||
|
@ -1032,6 +1034,7 @@ else
|
||||||
|
|
||||||
AR=ar
|
AR=ar
|
||||||
AR_FOR_TARGET='\$(USUAL_AR_FOR_TARGET)'
|
AR_FOR_TARGET='\$(USUAL_AR_FOR_TARGET)'
|
||||||
|
AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
|
||||||
AS=as
|
AS=as
|
||||||
AS_FOR_TARGET='\$(USUAL_AS_FOR_TARGET)'
|
AS_FOR_TARGET='\$(USUAL_AS_FOR_TARGET)'
|
||||||
BISON='$(USUAL_BISON)'
|
BISON='$(USUAL_BISON)'
|
||||||
|
@ -1046,6 +1049,7 @@ else
|
||||||
MAKEINFO='\$(USUAL_MAKEINFO)'
|
MAKEINFO='\$(USUAL_MAKEINFO)'
|
||||||
NM=nm
|
NM=nm
|
||||||
NM_FOR_TARGET='\$(USUAL_NM_FOR_TARGET)'
|
NM_FOR_TARGET='\$(USUAL_NM_FOR_TARGET)'
|
||||||
|
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
||||||
RANLIB_FOR_TARGET='\$(USUAL_RANLIB_FOR_TARGET)'
|
RANLIB_FOR_TARGET='\$(USUAL_RANLIB_FOR_TARGET)'
|
||||||
WINDRES=windres
|
WINDRES=windres
|
||||||
WINDRES_FOR_TARGET='\$(USUAL_WINDRES_FOR_TARGET)'
|
WINDRES_FOR_TARGET='\$(USUAL_WINDRES_FOR_TARGET)'
|
||||||
|
|
11
configure.in
11
configure.in
|
@ -1118,10 +1118,9 @@ if test -n "${host_makefile_frag}" ; then
|
||||||
host_makefile_frag=mh-frag
|
host_makefile_frag=mh-frag
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
extra_arflags_for_target=
|
||||||
|
extra_nmflags_for_target=
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
v810*)
|
|
||||||
target_makefile_frag="config/mt-v810"
|
|
||||||
;;
|
|
||||||
i[3456]86-*-netware*)
|
i[3456]86-*-netware*)
|
||||||
target_makefile_frag="config/mt-netware"
|
target_makefile_frag="config/mt-netware"
|
||||||
;;
|
;;
|
||||||
|
@ -1132,7 +1131,11 @@ case "${target}" in
|
||||||
target_makefile_frag="config/mt-linux"
|
target_makefile_frag="config/mt-linux"
|
||||||
;;
|
;;
|
||||||
*-*-aix4.[3456789]* | *-*-aix[56789].*)
|
*-*-aix4.[3456789]* | *-*-aix[56789].*)
|
||||||
target_makefile_frag="config/mt-aix43"
|
# nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
|
||||||
|
# commands to handle both 32-bit and 64-bit objects. These flags are
|
||||||
|
# harmless if we're using GNU nm or ar.
|
||||||
|
extra_arflags_for_target=" -X32_64"
|
||||||
|
extra_nmflags_for_target=" -B -X32_64"
|
||||||
;;
|
;;
|
||||||
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
|
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
|
||||||
target_makefile_frag="config/mt-wince"
|
target_makefile_frag="config/mt-wince"
|
||||||
|
|
Loading…
Reference in New Issue