🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1321

[CW6] Cross Platform Post-Linker issue

#1321
From: Rob Barris
Date: Mon, 08 Jan 2001 20:46
38 lines
2589 bytes
   So I have a CW6 project file with targets for Mac and Windows 
executables.

   The project file is kept in source control and modified as little as 
possible.

   There is one target setting that seems to cause grief when trying to 
build the Mac target on either a Windows or a Mac host, the selection of 
Post-Linker.

   If you are hosted on Windows, you need to have the post linker set to 
"MacBinarize" in order to get the output properly encapsulated.

   If you are hosted on Mac and try to build with that project file and 
that target set in that fashion, you get the message "could not find 
MacBinarize postlinker".

   It would seem like there is a conflict there.

   Possible workarounds I have thought of:

   a. use different targets depending on host.  ie, bring the notion of 
"what host are you on" into the target selection.

   b. find or build a dummy "MacBinarize PostLinker" to throw in the Mac 
systems CW6 folder, so that option can be left set the same way 
everywhere.

   c. Just leave it off and give up on building Mac executables on 
Windows machines (although still being able to compile and link does 
wonders for desk checking and keeping both platforms in sync).

   I really don't want people to have to keep going to that setting and 
changing it every time they get a copy of the project file from the CVS 
server.

Rob
Technical Details
Message-ID: <rbarris-97E79E.12461008012001@news.intelenet.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!newspump.sol.net!news.execpc.com!newspeer.sol.net!nntp.msen.com!uunet!sac.uu.net!lax.uu.net!newsfeed.intelenet.net!rbarris

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,783409d60d91c992,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,783409d60d91c992,start
X-Google-Attributes: gidf635e,public
X-Google-Thread: fd047,783409d60d91c992,start
X-Google-Attributes: gidfd047,public
X-Google-ArrivalTime: 2001-01-08 12:49:17 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!newspump.sol.net!news.execpc.com!newspeer.sol.net!nntp.msen.com!uunet!sac.uu.net!lax.uu.net!newsfeed.intelenet.net!rbarris
From: Rob Barris <rbarris@quicksilver.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac,codewarrior.windows
Subject: [CW6] Cross Platform Post-Linker issue
Organization: Quicksilver Software Inc.
Posted-And-Mailed: yes
User-Agent: MT-NewsWatcher/3.0 (PPC)
Message-ID: <rbarris-97E79E.12461008012001@news.intelenet.net>
Lines: 38
Date: Mon, 08 Jan 2001 20:46:08 GMT
NNTP-Posting-Host: 207.38.32.18
X-Complaints-To: abuse@intelenet.net
X-Trace: newsfeed.intelenet.net 978986768 207.38.32.18 (Mon, 08 Jan 2001 12:46:08 PST)
NNTP-Posting-Date: Mon, 08 Jan 2001 12:46:08 PST