Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0ceeebd3
Commit
0ceeebd3
authored
Apr 07, 2005
by
Mike Stump
Committed by
Mike Stump
Apr 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure: Regenerate.
From-SVN: r97809
parent
b937d916
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
2 deletions
+87
-2
libjava/ChangeLog
+4
-0
libjava/configure
+83
-2
No files found.
libjava/ChangeLog
View file @
0ceeebd3
2005
-
04
-
07
Mike
Stump
<
mrs
@
apple
.
com
>
*
configure
:
Regenerate
.
2005
-
04
-
06
Andrew
Haley
<
aph
@
redhat
.
com
>
*
testsuite
/
libjava
.
lang
/
bytearray
.
java
:
New
file
.
...
...
libjava/configure
View file @
0ceeebd3
...
...
@@ -4435,6 +4435,87 @@ deplibs_check_method=$lt_cv_deplibs_check_method
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
# find the maximum length of command line arguments
echo
"
$as_me
:
$LINENO
: checking the maximum length of command line arguments"
>
&5
echo
$ECHO_N
"checking the maximum length of command line arguments...
$ECHO_C
"
>
&6
if
test
"
${
lt_cv_sys_max_cmd_len
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
i
=
0
teststring
=
"ABCD"
case
$build_os
in
msdosdjgpp
*
)
# On DJGPP, this test can blow up pretty badly due to problems in libc
# (any single argument exceeding 2000 bytes causes a buffer overrun
# during glob expansion). Even if it were fixed, the result of this
# check would be larger than it should be.
lt_cv_sys_max_cmd_len
=
12288
;
# 12K is about right
;;
cygwin
*
|
mingw
*
)
# On Win9x/ME, this test blows up -- it succeeds, but takes
# about 5 minutes as the teststring grows exponentially.
# Worse, since 9x/ME are not pre-emptively multitasking,
# you end up with a "frozen" computer, even though with patience
# the test eventually succeeds (with a max line length of 256k).
# Instead, let's just punt: use the minimum linelength reported by
# all of the supported platforms: 8192 (on NT/2K/XP).
lt_cv_sys_max_cmd_len
=
8192
;
;;
amigaos
*
)
# On AmigaOS with pdksh, this test takes hours, literally.
# So we just punt and use a minimum line length of 8192.
lt_cv_sys_max_cmd_len
=
8192
;
;;
netbsd
*
|
freebsd
*
|
openbsd
*
|
darwin
*
|
dragonfly
*
)
# This has been around since 386BSD, at least. Likely further.
if
test
-x
/sbin/sysctl
;
then
lt_cv_sys_max_cmd_len
=
`
/sbin/sysctl
-n
kern.argmax
`
elif
test
-x
/usr/sbin/sysctl
;
then
lt_cv_sys_max_cmd_len
=
`
/usr/sbin/sysctl
-n
kern.argmax
`
else
lt_cv_sys_max_cmd_len
=
65536
# usable default for *BSD
fi
# And add a safety zone
lt_cv_sys_max_cmd_len
=
`
expr
$lt_cv_sys_max_cmd_len
\/
4
`
lt_cv_sys_max_cmd_len
=
`
expr
$lt_cv_sys_max_cmd_len
\*
3
`
;;
*
)
# If test is not a shell built-in, we'll probably end up computing a
# maximum length that is only half of the actual maximum length, but
# we can't tell.
SHELL
=
${
SHELL
-
${
CONFIG_SHELL
-/bin/sh
}}
while
(
test
"X"
`
$SHELL
$0
--fallback-echo
"X
$teststring
"
2>/dev/null
`
\
=
"XX
$teststring
"
)
>
/dev/null 2>&1
&&
new_result
=
`
expr
"X
$teststring
"
:
".*"
2>&1
`
&&
lt_cv_sys_max_cmd_len
=
$new_result
&&
test
$i
!=
17
# 1/2 MB should be enough
do
i
=
`
expr
$i
+ 1
`
teststring
=
$teststring$teststring
done
teststring
=
# Add a significant safety factor because C++ compilers can tack on massive
# amounts of additional arguments before passing them to the linker.
# It appears as though 1/2 is a usable value.
lt_cv_sys_max_cmd_len
=
`
expr
$lt_cv_sys_max_cmd_len
\/
2
`
;;
esac
fi
if
test
-n
$lt_cv_sys_max_cmd_len
;
then
echo
"
$as_me
:
$LINENO
: result:
$lt_cv_sys_max_cmd_len
"
>
&5
echo
"
${
ECHO_T
}
$lt_cv_sys_max_cmd_len
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: none"
>
&5
echo
"
${
ECHO_T
}
none"
>
&6
fi
# Only perform the check for file, if the check method requires it
case
$deplibs_check_method
in
file_magic
*
)
...
...
@@ -4768,7 +4849,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case
$host
in
*
-
*
-irix6
*
)
# Find out which ABI we are using.
echo
'#line 4
771
"configure"'
>
conftest.
$ac_ext
echo
'#line 4
852
"configure"'
>
conftest.
$ac_ext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>&5
ac_status
=
$?
...
...
@@ -5812,7 +5893,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 58
15
"configure"
#line 58
96
"configure"
struct S { ~S(); };
void bar();
void foo()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment