On Tue, Sep 06, 2011 at 05:58:20PM +0200, Alexander Burger wrote:
Hmm, looking at that, it occurs to me that the order of arguments to
'gcc' might be relevant: If it first processes -ldl, and _then_
x86-64.linux.base.o, it might be too late to detect that certain
functions from the library
One note: i presume the reason for having the gcc command be specified by
the variable LD-MAIN is because it can be nice to swap out the version of
gcc, such as when cross-compiling or when an older version of gcc is
required. If there's only one target that runs the linker, it's no problem
to
Hi Alex, and thanks for your answer...
I'm not very knowledgable about the make process.
I just run make picolisp in src64 and get the errors about the missing
dl (and two files x86-64.linux.base.o .s).
-ldl is present in the Makefile, and also in the complaining invocation of
gcc :
gcc
Hi Renaud,
Hi Alex, and thanks for your answer...
No problem. I'm glad for your input.
-ldl is present in the Makefile, and also in the complaining invocation of
gcc :
gcc -m64 -rdynamic -lc -lm -ldl -o ../bin/picolisp x86-64.linux.base.o
Hmm, looking at that, it occurs to me that the
Nice shot !
That's it... succeful compilation ;-)
I hope i can get good price for the thanks word, as i have to buy you a
thousand of these !
On Tue, Sep 6, 2011 at 5:58 PM, Alexander Burger a...@software-lab.dewrote:
Hi Renaud,
Hi Alex, and thanks for your answer...
No problem. I'm
Alexander Burger a...@software-lab.de writes:
Hi Renaud,
Nice shot !
That's it... succeful compilation ;-)
Wow! That's good news! :D
So Ubuntu set gcc to use -Wl,--as-needed flag by default. I can
reproduce this link error with the flag.
@Kanru: Please make a new Debian release, to have
Hi Kanru,
So Ubuntu set gcc to use -Wl,--as-needed flag by default. I can
reproduce this link error with the flag.
I see. So we might have fixed it also by supplying these flags. Anyway,
I think the current solution (rearranging the arguments) is cleaner.
@Kanru: Please make a new Debian