I can't explain why it gets set to __be_os. Using the same facilities available
to you, I searched the MSL files for __dest_os and __be_os.  I didn't see any
place where the former got set to the latter. What I did see was:

* All MSL header files #include <ansi_parms.h>

* ansi_parms.h #includes <mslGlobals.h>

* mslGlobals.h includes the version of ansi_prefix.foo.h appropriate for your
system based on the conditionals defined at the time it's included.  For Palm
systems, this appears to be ansi_prefix.mac.h (since __MC68K__ is defined, but
__embedded__ is not).

* ansi_prefix.mac.h sets __dest_os to __mac_os.

If you can find out why your system deviates from the above, you're that much
closer to answering your own question.

-- Keith






"Carl Smith" <[EMAIL PROTECTED]> on 12/06/2000 09:11:27 AM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Carl Smith" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Re: Cannot open bsd_mem.h



Keith-

Not sure if you got my last message but just in case: Thank for the help

but "You might want to track down why __dest_os is set to __be_os." I'd be
happy to if I knew what _dest_os was and how to set or unset it? Any
suggestions? Any body?

Thanks
Carl


<[EMAIL PROTECTED]> wrote in message news:32228@palm-dev-forum...
>
>
>
> Did you notice the part in cstring that shows that bsd_mem.h is included
only
> when compiling for Be OS?  That would explain why bsd_mem.h is not on your
> system.
>
> #if __dest_os == __be_os
>      #include <bsd_mem.h>
> #endif
>
> You might want to track down why __dest_os is set to __be_os.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
>
>
>
>
> "CSmith" <[EMAIL PROTECTED]> on 12/05/2000 06:21:59 PM
>
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
> Sent by:  "CSmith" <[EMAIL PROTECTED]>
>
>
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:    (Keith Rollin/US/PALM)
> Subject:  Cannot open bsd_mem.h
>
>
>
> Just wondering if anyone ran across this one before. I have a project that
> compiles fine on my work machine but the same project gets the following
> error on my home machine. Error: the file 'bsd_mem.h' cannot be opened
> cstring line 38 #include <bsd_mem.h>.
>
> I've searched for the file bsd_mem.h both on my home machine and the work
> machine and cannot find it.
>
> Any Ideas?
>
> Thanks
> Carl
>
>
>
>
>



--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to