-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-31904 : Python should support VxWorks RTOS #4179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 21 commits
10d4405
9d53ef2
db2e0e8
cb3aa97
de480ac
5bfa35c
eeb74cf
f6efb4e
9f5f589
3196b82
a661fb2
b37d2ee
674d078
7256ca2
69010f4
d1c19f9
3562186
4531ba8
ed10017
4d7dbdd
56a57ee
e02bcab
f0b0a71
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2927,7 +2927,7 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; } | |
if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE_VERSION')"; then | ||
break | ||
fi | ||
interp= | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could restore this? |
||
|
||
done | ||
if test x$interp = x; then | ||
as_fn_error $? "python$PACKAGE_VERSION interpreter not found" "$LINENO" 5 | ||
|
@@ -3258,6 +3258,9 @@ then | |
*-*-cygwin*) | ||
ac_sys_system=Cygwin | ||
;; | ||
*-*-vxworks*) | ||
ac_sys_system=VxWorks | ||
;; | ||
*) | ||
# for now, limit cross builds to known configurations | ||
MACHDEP="unknown" | ||
|
@@ -3302,6 +3305,9 @@ if test "$cross_compiling" = yes; then | |
*-*-cygwin*) | ||
_host_cpu= | ||
;; | ||
*-*-vxworks*) | ||
_host_cpu= | ||
;; | ||
*) | ||
# for now, limit cross builds to known configurations | ||
MACHDEP="unknown" | ||
|
@@ -3320,6 +3326,10 @@ fi | |
# wildcard, and that the wildcard does not include future systems | ||
# (which may remove their limitations). | ||
case $ac_sys_system/$ac_sys_release in | ||
# On VxWorks if _XOPEN_SOURCE is defined the socket.h header | ||
# has undefined types. | ||
VxWorks* ) | ||
define_xopen_source=no;; | ||
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, | ||
# even though select is a POSIX function. Reported by J. Ribbens. | ||
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. | ||
|
@@ -13299,7 +13309,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
fi | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 | ||
$as_echo "$ac_cv_c_char_unsigned" >&6; } | ||
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then | ||
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes && test "$ac_sys_system" != "VxWorks" ; then | ||
$as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h | ||
|
||
fi | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is mistake will have recall the pull request and move this back where it was orignally