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 / January 2006



Tip: Looking for answers? Try searching our database.

Can't select Shell Tool Post Linker in CW10

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Taylor - 13 Dec 2005 23:33 GMT
In CW9 it was possible to create a target with Linker: None and
Post-linker: Shell Tool Post Linker.  This was useful when the only
purpose of the target was to simply execute the script.

Now in CW10, the Shell Tool Post Linker does not appear in the
Post-linker popup when Linker: is set to None.  Is this by design or is
this a bug?

Thanks,
- Mark
David Capshaw - 19 Dec 2005 16:58 GMT
> Now in CW10, the Shell Tool Post Linker does not appear in the
> Post-linker popup when Linker: is set to None.  Is this by design or is
> this a bug?

Perhaps the latter. The IDE is now (as of June 2004) more careful in matching
linkers to the output cpu and operating system. The None linker now has its own
constants: targetCPUNone and targetOSNone. (Previously they were effectively Any
and relied on the generous wildcard matching.)

The Shell Tool Post Linker target list was extended to list both Any and None so
it would continue to be usable with the None linker.

The Plugin Diagnostic All Info report should show the Shell Tool Post Linker
associated with the None linker.

Dave
Mark Taylor - 04 Jan 2006 22:04 GMT
Hi Dave,

Thanks for the reply.  I checked the Plug-In Diagnostic Info report and
it shows that the Shell Tool Post Linker is associated with only these
linkers: MacOS Merge, MacOS PPC Linker, and MacOS X PPC Linker.  The
None linker is associated with nothing.

Can you suggest a fix?

Thanks very much,
- Mark
David Capshaw - 11 Jan 2006 17:37 GMT
> Thanks for the reply.  I checked the Plug-In Diagnostic Info report and
> it shows that the Shell Tool Post Linker is associated with only these
> linkers: MacOS Merge, MacOS PPC Linker, and MacOS X PPC Linker.  The
> None linker is associated with nothing.
>
> Can you suggest a fix?

The real fix would be to use a Shell Tool Post Linker that includes None
in its target OS and CPU list. (But I don't know where such a plugin is
available.)

An expedient would be to edit the IDE executable and change the target OS
and CPU of the built-in null linker from None to Any. With this change the
post linker would be a candidate for use with the null linker. The edit is
to use  ****  to replace the  None  that is sandwiched between the strings
''The plugin's API ...'' and ''request =''.

Sorry for not having a more satisfactory answer,

Dave
 
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.