other/3066: configure.in generates bad arguments for cross compiling libraries
sean@mcneil.com
sean@mcneil.com
Wed Jun 6 13:16:00 GMT 2001
>Number: 3066
>Category: other
>Synopsis: configure.in generates bad arguments for cross compiling libraries
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 06 13:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sean McNeil
>Release: CVS tree
>Organization:
>Environment:
FreeBSD 4.3 cross compiling for arm-wrs-vxworks
>Description:
configure.in translates --target=xxx to --host=xxx and sends --with-cross-host=${host_alias} down to compilations of libraries. Additionally, when --with-cross-host is defined, libstdc++-v3 assumes that unless you declare the target as *-*-linux* you are using newlib and overrides whatever is appropriately determined by configure.target.
>How-To-Repeat:
I am configuring as follows:
../configure --disable-shared --without-pic --prefix=/usr/wind/host/x86-freebsd --target=arm-wrs-vxworks
>Fix:
configure.in should change to set initial value as
targargs="--cache-file=../config.cache --target=${target_alias} --build=${build_alias} ${targargs}"
and case on target_alias should be removed from libstdc++-v3/configure.in and done for the appropriate case in libstdc++-v3/configure.target.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list