Ryan Mansfield(deleted)
|
Re: use external library in QNX Momentics IDE4.7.0
|
Ryan Mansfield(deleted)
12/20/2010 8:16 AM
post79350
|
Re: use external library in QNX Momentics IDE4.7.0
On 10-12-20 03:56 AM, Jerry Van wrote:
> Hi, guys,
>
> I created a QNX c project and add a external library built using RVDS
> into the project. But when I built the project, a "undefined reference
> to '__aeabi_memcpy'"
> error occured.
> Could anybody help me to fix the problem?
You'll have to add a wrapper function like the following to your code;
void __aeabi_memcpy (void *dest, const void *src, size_t n) {
memcpy (dest, src, n);
}
Note: your library will only be ABI compatible with the 'armle-v7'
variant and you cannot use it with the 'armle' variant.
Regards,
Ryan Mansfield
|
|
|