Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
d2334e10
Commit
d2334e10
authored
Jul 01, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PWR_EXT_INC added to plc compile cmd for adding of external include directories
parent
72117879
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
7 deletions
+44
-7
wb/changelog.txt
wb/changelog.txt
+2
-0
wb/exp/com/src/os_linux/wb_gcg.sh
wb/exp/com/src/os_linux/wb_gcg.sh
+42
-7
No files found.
wb/changelog.txt
View file @
d2334e10
...
...
@@ -133,3 +133,5 @@
090515 cs wtt Bugfix in ConnectGraph method for PlantHier objects.
090518 cs wb Wb method PostRename added and implemented for XttGraph and ProjectReg objects.
090518 cs wb Advanced user set as default in wb.
090630 cs wb Directory database changed from BerkeleyDb to wb_load format.
090701 cs plc Env variable PWR_EXT_INC added to plc compile command. Replaces pwrp_cmn.
\ No newline at end of file
wb/exp/com/src/os_linux/wb_gcg.sh
View file @
d2334e10
...
...
@@ -245,7 +245,6 @@ OsMaskToOpSys $OsMask # Convert Bitmask to index
# Local symbols
#
let
OpSys__Low
=
0
let
OpSys_VAX_ELN
=
1
let
OpSys_VAX_VMS
=
2
...
...
@@ -289,8 +288,14 @@ fi
#
# Check OpSys
#
# How can we find out if this is a ppc or x86 host?
#
# Current opsys
machine
=
`
eval uname
-m
`
if
[
$machine
=
"x86_64"
]
;
then
CurrentOpSys
=
$OpSys_X86_64_LINUX
else
CurrentOpSys
=
$OpSys_X86_LINUX
fi
#
# Check FileType
#
...
...
@@ -303,19 +308,49 @@ fi
OsStr
=
"
`
echo
$vOpSys
|
cut
-f
$OpSys
-d
,
`
"
let
FileTypeIdx
=
$FileType
+1
if
[
$OpSys
-eq
$OpSys_PPC_LINUX
]
||
[
$OpSys
-eq
$OpSys_X86_LINUX
]
||
[
$OpSys
-eq
$OpSys_X86_64_LINUX
]
;
then
if
[
$OpSys
-eq
$OpSys_PPC_LINUX
]
;
then
pwrp_gc
=
"
$pwrp_tmp
"
# Suppress all warnings, -x
cc_cmd
=
"gcc -c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
# Execute build command
Compile
$FileTypeStr
exit
$gcg_status
elif
[
$OpSys
-eq
$OpSys_X86_LINUX
]
;
then
pwrp_gc
=
"
$pwrp_tmp
"
# Suppress all warnings, -x
cc_cmd
=
"gcc -c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
-I
$pwrp_cmn
/common/inc"
if
[
$CurrentOpSys
-eq
$OpSys
]
;
then
cc_cmd
=
"gcc -c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
# Execute build command
Compile
$FileTypeStr
exit
$gcg_status
elif
[
$CurrentOpSys
-eq
$OpSys_X86_64_LINUX
]
;
then
echo
"-- Not built for x86_linux"
fi
elif
[
$OpSys
-eq
$OpSys_X86_64_LINUX
]
;
then
pwrp_gc
=
"
$pwrp_tmp
"
# Suppress all warnings, -x
if
[
$CurrentOpSys
-eq
$OpSys
]
;
then
cc_cmd
=
"gcc -c -x c -w
$cc_debug
-D_REENTRANT -DOS_LINUX -I
$pwr_inc
-I
$pwrp_inc
-I
$pwrp_tmp
$PWR_EXT_INC
"
FileTypeStr
=
"
`
echo
$vFileType
|
cut
-f
$FileTypeIdx
-d
,
`
"
# Execute build command
Compile
$FileTypeStr
exit
$gcg_status
elif
[
$CurrentOpSys
-eq
$OpSys_X86_LINUX
]
;
then
echo
"-- Not built for x86_64_linux"
fi
elif
[
$OpSys
-eq
$OpSys_AXP_VMS
]
;
then
...
...
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