dyld confused
dyld confused
- Subject: dyld confused
- From: plumber <email@hidden>
- Date: Wed, 18 May 2005 12:07:47 +0200
this work well but no in c++ ?
licall.c ----------------
int main ()
{
clilib();
return 0;
}
clilib.c ----------------
#include <stdio.h>
int clilib()
{
printf("cli-call\n");
clilibobject();
return 1;
}
clilibobject.c ----------------
#include <stdio.h>
int clilibobject()
{
printf("cli-lib-call\n");
return 1;
}
gcc -c clicall.c
gcc -dynamiclib clilib.c clilibobject.c -o libcli.dylib
gcc -o clicall clicall.o -L. -lcli
./clicall
cli-call
cli-lib-call
Best Regards
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden