Thread View: comp.sys.mac.programmer.codewarrior
2 messages
2 total messages
Started by Wade Williams
Mon, 15 Apr 2002 21:45
Using MSL & BSD headers
Author: Wade Williams
Date: Mon, 15 Apr 2002 21:45
Date: Mon, 15 Apr 2002 21:45
26 lines
1991 bytes
1991 bytes
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?
Thanks,
Wade
Re: Using MSL & BSD headers
Author: 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>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads