* [PATCH] fix PR target/65535
@ 2015-04-16 20:39 Andreas Tobler
2015-04-17 16:14 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 2015-04-16 20:39 UTC (permalink / raw)
To: GCC Patches
Hi all,
the below is an attempt to warn a user when she/he builds a cross
compiler for *-*-freebsd* without giving a major version number.
Ok for trunk?
Thanks,
Andreas
2015-04-16 Andreas Tobler <andreast@gcc.gnu.org>
* config.gcc: Exit with a comment when we do not have a major version
number for the FreeBSD target.
Index: config.gcc
===================================================================
--- config.gcc (revision 222153)
+++ config.gcc (working copy)
@@ -664,6 +664,11 @@
gas=yes
gnu_ld=yes
fbsd_major=`echo ${target} | sed -e 's/.*freebsd//g' | sed -e
's/\..*//g'`
+ if test "$fbsd_major" = ""; then
+ echo "Specify the major version number of the targeted FreeBSD release"
+ echo "like this: --target=amd64-unknown-freebsd10.1"
+ exit 1
+ fi
tm_defines="${tm_defines} FBSD_MAJOR=${fbsd_major}"
tmake_file="t-slibgcc"
case ${enable_threads} in
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix PR target/65535
2015-04-16 20:39 [PATCH] fix PR target/65535 Andreas Tobler
@ 2015-04-17 16:14 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2015-04-17 16:14 UTC (permalink / raw)
To: Andreas Tobler, GCC Patches
On 04/16/2015 02:38 PM, Andreas Tobler wrote:
> Hi all,
>
> the below is an attempt to warn a user when she/he builds a cross
> compiler for *-*-freebsd* without giving a major version number.
>
> Ok for trunk?
> Thanks,
> Andreas
>
> 2015-04-16 Andreas Tobler <andreast@gcc.gnu.org>
>
> * config.gcc: Exit with a comment when we do not have a major version
> number for the FreeBSD target.
OK for the trunk.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-17 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16 20:39 [PATCH] fix PR target/65535 Andreas Tobler
2015-04-17 16:14 ` Jeff Law
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).