Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
clean-and-itasks
clean-ide
Commits
f724d29f
Commit
f724d29f
authored
Jul 02, 2002
by
Diederik van Arkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure main module linked first
parent
629e4155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
Pm/PmDriver.icl
Pm/PmDriver.icl
+9
-3
No files found.
Pm/PmDriver.icl
View file @
f724d29f
...
...
@@ -764,6 +764,12 @@ step intr (DLink ds=:{ok, newpaths, fileinfo, libsinfo, modpaths, abccache, proj
// clean modules
#
(
clmodpaths
,
fileinfo
)
=
FI_GetCleanModules
system_obj_path
libsinfo
fileinfo
// why couldn't we use ds.modpaths above??? No we need to do trickery to ensure main module is first!
#
(
rootpath
,
project
)
=
PR_GetRootPathName
project
#
rootpath
=
MakeObjSystemPathname
tp
rootpath
#
clmodpaths
=
RemoveStringFromList
rootpath
clmodpaths
#
ofiles
=
rootpath
:!
ofiles
#
ofiles
=
Reverse2
clmodpaths
ofiles
// module imported objects and dynamic libs
...
...
@@ -1147,7 +1153,7 @@ CompileTheProjectModuleStart :: !CompileOrCheckSyntax !Pathname !Int !FileInfoCa
CompileTheProjectModuleStart
compileOrCheckSyntax
path
slot
fileinfo
dircache
abccache
project
ps
#
mn
=
GetModuleName
path
#
(
ok
,
ccstring
,
write_module_times
,
errwin
,_,
srcpaths
,
mp
,
tp
,
eod
,
co
,
startupdir
,
fileinfo
,
abccache
,
ps
)
=
CTPMcommon
compileOrCheckSyntax
path
mn
fileinfo
abccache
project
ps
=
CTPMcommon
/*compileOrCheckSyntax*/
path
mn
fileinfo
abccache
project
ps
|
not
ok
=
(
False
,
fileinfo
,
dircache
,
abccache
,
ps
)
#
(
compileStarted
,
ps
)
=
CompileStartCommand
ccstring
write_module_times
errwin
compileOrCheckSyntax
path
srcpaths
slot
mp
tp
eod
co
startupdir
ps
...
...
@@ -1175,11 +1181,11 @@ ShowInfoAndCompile compileOrCheckSyntax path fileinfo abccache project ps
#
mn
=
GetModuleName
path
#
line
=
Level2
((
if
(
compileOrCheckSyntax
==
Compilation
)
"Compiling '"
"Checking '"
)
+++
mn
+++
"'."
)
#
ps
=
showInfo
line
ps
=
CTPMcommon
compileOrCheckSyntax
path
mn
fileinfo
abccache
project
ps
=
CTPMcommon
/*compileOrCheckSyntax*/
path
mn
fileinfo
abccache
project
ps
//CTPMcommon :: !CompileOrCheckSyntax !Pathname !Modulename !FileInfoCache !*ABCCache !Project !*(PSt *General)
// -> *(Bool, String, Bool, (!([String]) !*(PSt *General) -> *PSt *General), _, _, _, _, _, _, _, FileInfoCache, *ABCCache, PSt *General)
CTPMcommon
compileOrCheckSyntax
path
mn
fileinfo
abccache
project
ps0
CTPMcommon
/*compileOrCheckSyntax*/
path
mn
fileinfo
abccache
project
ps0
//XXX # ps = showInfo line ps
#
(
startupdir
,
ps
)
=
getStup
ps
#
({
compopts
},
ps
)
=
getPrefs
ps
...
...
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