Compiling a library December 10, 2008 11:57PM | Registered: 16 years ago Posts: 7 |
Re: Compiling a library December 11, 2008 06:53AM | Registered: 16 years ago Posts: 441 |
Re: Compiling a library December 11, 2008 07:03AM | Registered: 16 years ago Posts: 13 |
Re: Compiling a library December 11, 2008 10:09AM | Registered: 16 years ago Posts: 7 |
Re: Compiling a library December 11, 2008 10:21AM | Registered: 16 years ago Posts: 13 |
Re: Compiling a library December 11, 2008 10:43AM | Registered: 16 years ago Posts: 78 |
Quote
lordzid
-static is a linker flag. If you can't figure it out from there, perhaps you should pursue a career in the arts instead.
Re: Compiling a library December 11, 2008 10:57AM | Registered: 16 years ago Posts: 13 |
Re: Compiling a library December 11, 2008 11:43AM | Registered: 16 years ago Posts: 265 |
Re: Compiling a library December 11, 2008 11:47AM | Registered: 16 years ago Posts: 13 |
Re: Compiling a library December 11, 2008 02:39PM | Registered: 16 years ago Posts: 7 |
Re: Compiling a library December 11, 2008 03:48PM | Registered: 16 years ago Posts: 265 |
Re: Compiling a library December 11, 2008 03:49PM | Registered: 16 years ago Posts: 13 |
Re: Compiling a library December 11, 2008 04:44PM | Registered: 16 years ago Posts: 276 |
Quote
all:
powerpc-gekko-ar -rc "output.a" file1.o file2.o ...
Quote
Strange, I didn't need that flag, i just needed to add a makefile goal for the libX.a file that had the object files as it's dependency.
Quote
`-static'
Do not link against shared libraries. This is only meaningful on
platforms for which shared libraries are supported. The different
variants of this option are for compatibility with various
systems. You may use this option multiple times on the command
line: it affects library searching for `-l' options which follow
it. This option also implies `--unresolved-symbols=report-all'.
This option can be used with `-shared'. Doing so means that a
shared library is being created but that all of the library's
external references must be resolved by pulling in entries from
static libraries.
Re: Compiling a library December 11, 2008 07:05PM | Registered: 16 years ago Posts: 265 |