Article View: comp.sys.mac.programmer.codewarrior
Article #1027Re: Using MSL & BSD headers
From: MW Ron
Date: Fri, 19 Apr 2002 18:08
Date: Fri, 19 Apr 2002 18:08
43 lines
2314 bytes
2314 bytes
In article <150420021645358779%wadesworld@mac.com>,
Wade Williams <wadesworld@mac.com> wrote:
>Can MSL and BSD headers be used together? For example:
>
>Project 1 (app)
>#include <MSL MacHeadersMach-O.h>
>Access Paths:
>{Codewarrior}MSL/MSL C
>{Codewarrior}MSL/MSL C++
>{Codewarrior}Mac OS X Support
>{OS X Volume}/usr/include
>{OS X Volume}/usr/lib
>(frameworks path)
>
>Project 2 (static library which is included in project 1)
>#include <MacHeadersMach-O.h>
>Access Paths:
>{OS X Volume}/usr/include
>{OS X Volume}/usr/lib
>{Codewarrior}Mac OS X Support
>
>
>Is this a valid configuration? Or must projects be all-MSL or all BSD?
We don't believe that this will work. Final linking is done from
Project 1. As such, all unresolved items from project 2 (i.e. Library
calls) will be linked against the MSL library since that's what project 1
specifies.
However, you can mix MSL and BSD headers for POSIX functions, but we
don't have a list of supported functions for CW 7.
Ron
--
BD Software has written an STL Error Message Decryptor
For CodeWarrior Windows Command Line Tools
<http://www.bdsoft.com/tools/stlfilt.html>
Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.com>
Technical Details
Message-ID:
<mwron-AD6EE4.14084319042002@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<150420021645358779%wadesworld@mac.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,81483c5e192db2de
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,81483c5e192db2de
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-04-19 11:36:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: MW Ron <mwron@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: Using MSL & BSD headers
Date: Fri, 19 Apr 2002 14:08:43 -0400
Organization: Metrowerks
Lines: 43
Message-ID: <mwron-AD6EE4.14084319042002@enews.newsguy.com>
References: <150420021645358779%wadesworld@mac.com>
NNTP-Posting-Host: p-253.newsdawg.com
Posted-And-Mailed: yes
User-Agent: MT-NewsWatcher/3.1 (PPC)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
(%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
@L/q,TjMd5+H{gASEPDR^$