Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
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
Linshizhi
ffmpeg.wasm-core
Commits
1a268acc
Commit
1a268acc
authored
Jun 29, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler sanity check
Originally committed as revision 5551 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fac252f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
configure
configure
+14
-0
No files found.
configure
View file @
1a268acc
...
@@ -1033,6 +1033,20 @@ if test $tune != "generic"; then
...
@@ -1033,6 +1033,20 @@ if test $tune != "generic"; then
esac
esac
fi
fi
# compiler sanity check
check_exec
<<
EOF
int main(){
return 0;
}
EOF
if
test
"
$?
"
!=
0
;
then
echo
"
$cc
is unable to create an executable file."
if
test
-z
"
$cross_prefix
"
-a
"
$cross_compile
"
=
no
;
then
echo
"If
$cc
is a cross-compiler, use the --cross-compile option."
fi
die
"C compiler test failed."
fi
# check for SIMD availability
# check for SIMD availability
# AltiVec flags: The FSF version of GCC differs from the Apple version
# AltiVec flags: The FSF version of GCC differs from the Apple version
...
...
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