ar (Archiver) not a happy bunny - too old or misconfigured?
Posted: Sun Oct 21, 2012 3:32 pm
Hi,
I've just upgraded to CodeLite 4.1.5, downloding the binary and running it on OS X 10.7.5;
I am trying to build a project - a static library - that I haven't tried to build for more than a year.
It compiles fine, but I get this issue:
Now, there is definitely "gefri.txt" exactly on this path (ie, the file definitely exist).
But based on this thread, it appears my archiver doesn't really support the @file parameter.
The solution to this would be:
No in the make file (gefri.mk), you I can see the archiver being called:
Where is the template that generates this make file? Or is it something wrong with my project setting (choosing the wrong linker/archiver, for instance)?
I've just upgraded to CodeLite 4.1.5, downloding the binary and running it on OS X 10.7.5;
I am trying to build a project - a static library - that I haven't tried to build for more than a year.
It compiles fine, but I get this issue:
Code: Select all
ar rcus ./../../lib/libgefri_mac32d.a @"/Volumes/Blackstore/Development/gefri/build/gefri/gefri.txt"
ar: @/Volumes/Blackstore/Development/gefri/build/gefri/gefri.txt: No such file or directory
make[1]: *** [../../lib/libgefri_mac32d.a] Error 1
But based on this thread, it appears my archiver doesn't really support the @file parameter.
The solution to this would be:
Code: Select all
ar rcus ./../../lib/libgefri_mac32d.a `cat /Volumes/Blackstore/Development/gefri/build/gefri/gefri.txt`
Code: Select all
$(AR) $(ArchiveOutputSwitch)$(OutputFile) @$(ObjectsFileList) $(ArLibs)
Where is the template that generates this make file? Or is it something wrong with my project setting (choosing the wrong linker/archiver, for instance)?