Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
c66b5095
Commit
c66b5095
authored
27 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
minor fixes
Rev: NT/tools/lib:1.2 Rev: NT/tools/rntcc:1.3
parent
8f90db34
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NT/tools/lib
+1
-1
1 addition, 1 deletion
NT/tools/lib
NT/tools/rntcc
+10
-6
10 additions, 6 deletions
NT/tools/rntcc
with
11 additions
and
7 deletions
NT/tools/lib
+
1
−
1
View file @
c66b5095
CLEANUP=yes
CLEANUP=yes
DEBUG=
no
DEBUG=
yes
if [ $DEBUG = yes ]; then
if [ $DEBUG = yes ]; then
set -x
set -x
...
...
This diff is collapsed.
Click to expand it.
NT/tools/rntcc
+
10
−
6
View file @
c66b5095
...
@@ -8,10 +8,10 @@ OPTS=""
...
@@ -8,10 +8,10 @@ OPTS=""
CFLAGS
=
""
CFLAGS
=
""
SOURCES
=
""
SOURCES
=
""
OBJECTS
=
""
OBJECTS
=
""
OUTPUT
=
OUTPUT
=
a.out
OPERATION
=
linking
OPERATION
=
linking
INCLUDE_PATH
=
INCLUDE_PATH
=
LDOPTS
=
""
LDOPTS
=
"
OPTION STACK=8m
"
while
test
"$#"
!=
0
;
do
while
test
"$#"
!=
0
;
do
case
$1
in
case
$1
in
...
@@ -88,14 +88,17 @@ done
...
@@ -88,14 +88,17 @@ done
ERRORFILE
=
TMP
$$
.err
ERRORFILE
=
TMP
$$
.err
rm
$ERRORFILE
2>/dev/null 1>/dev/null
||
:
rm
$ERRORFILE
2>/dev/null 1>/dev/null
||
:
CFLAGS
=
"
$CFLAGS
-zq -i
$IPATH
-fr
$ERRORFILE
"
CFLAGS
=
"
$CFLAGS
-zq -hw -fr
$ERRORFILE
"
if
[
"x
$OUTPUT
"
!=
x
]
;
then
if
[
"x
$OUTPUT
"
!=
x
]
;
then
CFLAGS
=
"
$CFLAGS
-fo
$OUTPUT
"
OFLAGS
=
"
$OFLAGS
-fo
$OUTPUT
"
else
OFLAGS
=
fi
fi
case
$OPERATION
in
case
$OPERATION
in
compiling
)
compiling
)
do_cmd wcc386
$CFLAGS
`
fixpath
$SOURCES
$OBJECTS
`
do_cmd wcc386
$CFLAGS
$OFLAGS
`
fixpath
$SOURCES
$OBJECTS
`
TARGET
=
$OUTPUT
TARGET
=
$OUTPUT
;;
;;
...
@@ -140,9 +143,10 @@ if [ "x$TARGET" != x ]; then
...
@@ -140,9 +143,10 @@ if [ "x$TARGET" != x ]; then
fi
fi
if
[
$OPERATION
=
linking
]
;
then
if
[
$OPERATION
=
linking
]
;
then
PWD
=
`
pwd
`
echo
>
$OUTPUT
"#!/bin/sh"
echo
>
$OUTPUT
"#!/bin/sh"
echo
>>
$OUTPUT
".
\$
NTTOOLS"
echo
>>
$OUTPUT
".
\$
NTTOOLS"
echo
>>
$OUTPUT
"set -e"
echo
>>
$OUTPUT
"set -e"
echo
>>
$OUTPUT
"silent_do_cmd
$TARGET
\"\$
@
\"
"
echo
>>
$OUTPUT
"silent_do_cmd
'
`
fixpath
$NTDRIVE$PWD
/
$TARGET
`
'
\"\$
@
\"
"
chmod
+x
$OUTPUT
chmod
+x
$OUTPUT
fi
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment