Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2004



Tip: Looking for answers? Try searching our database.

Project must re-link after opening.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
justnacl@yahoo.com - 21 Jul 2004 15:49 GMT
This is a follow up to something I posted on the c.s.m.p.cw a while
back. I've got more information now.  (I originally posted this last
week on Metrowerks web forum but did not got any reply after five
days.)

I have a CW project that builds a Mach-O app. It has four targets
(linking against BSD or MSL, Debug or Release). I'm only building the
first target (BSD/Debug). I build the target, and of course, hitting
Build immediately again, does nothing. If I close the project and
immediately reopen it when I build the same target it relinks.

Looking at the project's Data directory (in the terminal with ls -lR)
I noticed that when I close the project these files were touched:
CWSettingsMacOS.stg
in the target's sub-folder:
TargetDataMacOS.tdt

When I reopen the project this file gets touched:
in the target's sub-folder:
TargetDataMacOS.tdt

At this point if I hit the "check file dates" button nothing in the
target gets checked, i.e. none of the source files or libraries got
changed.

Then when I hit Build and the project relinks these files are touched:
CWSettingsMacOS.stg
and in all target's folders:
TargetDataMacOS.tdt

Hitting Build again (which does nothing in the IDE) touches no files.

Is this right? Would these files being touched account for what I am
seeing? Should I post this as a bug?

Robert
MW Ron - 26 Jul 2004 15:11 GMT
>This is a follow up to something I posted on the c.s.m.p.cw a while
>back. I've got more information now.  (I originally posted this last
>week on Metrowerks web forum but did not got any reply after five
>days.)

This just showed up today.  I thought I had replied on the MW Community..

>I have a CW project that builds a Mach-O app. It has four targets
>(linking against BSD or MSL, Debug or Release). I'm only building the
[quoted text clipped - 7 lines]
>in the target's sub-folder:
>TargetDataMacOS.tdt

Yes it is supposed to be touched, it saves your windows settings and such

>When I reopen the project this file gets touched:
>in the target's sub-folder:
[quoted text clipped - 13 lines]
>Is this right? Would these files being touched account for what I am
>seeing? Should I post this as a bug?

Sounds right

There is also a global preferences that are changed you might want to
look at those dates.  (debugger cache, and other caches are in that).

Ron

Signature

Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
       --   http://www.metrowerks.com/community  --

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.