public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/3066: configure.in generates bad arguments for cross compiling libraries
@ 2001-06-06 13:16 sean
  0 siblings, 0 replies; only message in thread
From: sean @ 2001-06-06 13:16 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-06 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-06 13:16 other/3066: configure.in generates bad arguments for cross compiling libraries sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).