Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4e083798
Commit
4e083798
authored
Dec 16, 1999
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch and new file by Geoff Furnish for C++ compilation.
parent
95012193
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
Modules/Makefile.pre.in
Modules/Makefile.pre.in
+6
-2
Modules/ccpython.cc
Modules/ccpython.cc
+11
-0
No files found.
Modules/Makefile.pre.in
View file @
4e083798
...
@@ -17,7 +17,7 @@ VERSION= @VERSION@
...
@@ -17,7 +17,7 @@ VERSION= @VERSION@
srcdir
=
@srcdir@
srcdir
=
@srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
@SET_C
CC
@
@SET_C
XX
@
CC
=
@CC@
CC
=
@CC@
RANLIB
=
@RANLIB@
RANLIB
=
@RANLIB@
AR
=
@AR@
AR
=
@AR@
...
@@ -95,7 +95,8 @@ MAKESETUP= $(srcdir)/makesetup
...
@@ -95,7 +95,8 @@ MAKESETUP= $(srcdir)/makesetup
FIXOBJS
=
config.o getpath.o main.o getbuildinfo.o
FIXOBJS
=
config.o getpath.o main.o getbuildinfo.o
OBJS
=
$(MODOBJS)
$(FIXOBJS)
OBJS
=
$(MODOBJS)
$(FIXOBJS)
MAINOBJ
=
python.o
#MAINOBJ= python.o
MAINOBJ
=
@MAINOBJ@
SYSLIBS
=
$(LIBM)
$(LIBC)
SYSLIBS
=
$(LIBM)
$(LIBC)
...
@@ -243,4 +244,7 @@ $(DESTSHARED):
...
@@ -243,4 +244,7 @@ $(DESTSHARED):
fi
;
\
fi
;
\
done
done
ccpython.o
:
ccpython.cc
$(CXX)
$(CFLAGS)
-c
$*
.cc
# Stuff is appended here by makesetup and make depend
# Stuff is appended here by makesetup and make depend
Modules/ccpython.cc
0 → 100644
View file @
4e083798
/* Minimal main program -- everything is loaded from the library */
#include "Python.h"
extern
"C"
DL_EXPORT
(
int
)
Py_Main
(
int
argc
,
char
*
argv
[]
);
int
main
(
int
argc
,
char
*
argv
[]
)
{
return
Py_Main
(
argc
,
argv
);
}
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