[M3devel] recent m3gdb does not want to compile

Elmar Stellnberger estellnb at yahoo.de
Wed Jun 10 16:26:09 CEST 2009


For any kind of reason recent m3gdbs refuse to compile at me:

../gdb/configure
...
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
...

> which ar
/usr/bin/ar

setting --bindir to /usr/bin or /usr does not help.
full error log: see attachement

 Should I compile m3gdb towards 32bit on an x86_64 platform if the
m3build I am using is 32bit?

  Besides this I am in wonder why a plain gdb can not access global
Modula-3 variables using PM3/EZM3 although I have specified -gstabs in
m3config/src/COMMON:
ASM = ["as","--32","-gstabs","-o"]         % Assembler
DEBUG_FLAG = "-gstabs"    % debugging info
BDEBUG_FLAG = "-gstabs"   % debugging info
LDEBUG_FLAG = "-gstabs"

i.e.
> gdb -batch --directory=
--directory=/home/elm/m3/Benchmark/LINUXLIBC6/../src  -ex 'info
variables' /home/elm/m3/Benchmark/LINUXLIBC6/./pureDCT-queue >smbls

> grep myglobal smbls  -> nothing found

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m3gdb-errs.msg
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090610/2624bc2f/attachment-0001.ksh>


More information about the M3devel mailing list