|
| Re: Link error |
 |
Wed, 14 May 2008 17:54:57 +080 |
To Lincoln:
Thanks for your help.
Because my library has called some standard C library functions in it. And when
I debug the project, there's a crash.
But I can't debug in the library. So I want to know whether it refers to the
compiler.
Now, I think it doesn't.
Do you have some suggetions when use the standerd C library functions in
Garnet?
In "Palm OS 68K API Documentation", it says that to use Palm OS
functions rather than standard C library functions directly.
So I think whether Palm OS supports to standard C library functions.
But Palm OS functions are also based on standard C library functions. Are they?
Does there have any limit?
2008-05-14
Vivian Chen
·¢¼þÈË£º Lincoln Ramsay
·¢ËÍʱ¼ä£º 2008-05-14 17:39:03
ÊÕ¼þÈË£º Palm Developer Forum
³ËÍ£º
Ö÷Ì⣺ Re: Link error
On 14/05/2008, at 11:32 AM, Vivian Chen wrote:
> Thanks. I really know very little about the cygwin.
>
> How to link project to the cygwin? I think I have. Must I choose -
> mno-cygwin? If I choose, I get a "undefined reference to" error.
-mno-cygwin means your app will not be linked to Cygwin. You should
just leave that switch off to link to Cygwin.
> As you said, if I want to use POSIX APIs, I must do it. And If I
> won't, I needn't. Is it right?
Yes... but you might not get to make that decision anyway since
you're creating a .dll that some other app will load.
> If I want to link with -mno-cygwin, and won't get a "undefined
> reference to" error, how can I do?
Why do you want to link with -mno-cygwin? Did you actually have a
problem linking to Cygwin or are you guessing that you don't need it?
When you talk about error messages you need to include the entire
message or we're left guessing what the problem is. You say
"undefined reference to"... to what?
--
Link
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
|
| Post Reply
|
|
|
|
|
|
|
|
|
|