#2913 - col - Fri Feb 14, 2003 2:00 pm
Hi , I'm having some problems using a custom library in my link process.
I have built the library with:
arm-agb-elf-ar rcs myLib.a foo.o bar.o etc.
I have also tried:
arm-agb-elf-ar rc myLib.a foo.o bar.o etc.
arm-agb-elf-ranlib myLib.a
When I try to use it with devkitadv (windows):
-L pathToMyLib or -lmyLib.a
It dosn't work work.
I am including headers for the individual .o files that make up the library.
The headers are being accessed in the compile process, it's just linking that's messed up.
(I have a feeling that it might be a cygwin issue as when i use -lmyLib.a, gcc can never find it!)
any suggestions?
cheers
col
I have built the library with:
arm-agb-elf-ar rcs myLib.a foo.o bar.o etc.
I have also tried:
arm-agb-elf-ar rc myLib.a foo.o bar.o etc.
arm-agb-elf-ranlib myLib.a
When I try to use it with devkitadv (windows):
-L pathToMyLib or -lmyLib.a
It dosn't work work.
I am including headers for the individual .o files that make up the library.
The headers are being accessed in the compile process, it's just linking that's messed up.
(I have a feeling that it might be a cygwin issue as when i use -lmyLib.a, gcc can never find it!)
any suggestions?
cheers
col