-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have declared an external function with a GCC weak attribute in a .c file:
extern int weakFunction( ) __attribute__ ((weak));
Compiled object file has weakFunction defined as a weak symbol.
Output of nm:
1791: w weakFunction
I am calling the weak defined function as follows:
if (weakFunction…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a project tree in XCode that looks like this: AppProject depends on ObjcWrapper that in turn depends on PureCppLib. ObjcWrapper and PureCppLib are static library projects. Combined, all sources barely reach 15k lines of code, and, as expected, the size of resulting binary is about 750Kb in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm developing a static library in Obj-C for a CocoaTouch project. I've added unit testing to my Xcode project by using the built in OCUnit framework. I can run tests successfully upon building the project and everything looks good. However I'm a little confused about something.
Part of what the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do I force cpptask to move the static libraries to the end on arg list issued to the compiler?
Here is the clause I am using
<cpptasks:cc description="appname" subsystem="console" objdir="obj" outfile="dist/app_test">
<compiler refid="testsslcc" />
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am currently providing a static library using vs2008. I am in the process of building my static library. However, since I am using another static library is there a way that then i package this as a single library. The reason here is that they will be calling functions in my library that depend…
>>> More