Mail Archives: djgpp-workers/2012/07/31/18:39:33
Am Sonntag, 29. Juli 2012 schrieb Andris Pavenis:
> On 07/29/2012 06:45 PM, Juan Manuel Guerrero wrote:
> > Am Sonntag, 29. Juli 2012 schrieb Andris Pavenis:
[snip]
> > If you make the zip files of the sources available I will try to build
> > them on my XP, 2K, 98SE and msdos installations.
> >
>
> OK. Files are at:
>
> http://ap1.pp.fi/djgpp/gcc/test/4.8.0-20120722/
>
> I did not put RPM packages there. djcross-gcc package contains however
> SPEC file.
>
> Andris
OFYI, I have successfully compiled gcc480_20120722 using djdev203 and djdev204.
Building the djdev203 takes 4:30 hours, the djdev204 build takes 6:00 hours.
I have omitted ADA. To compile the sources using djdev203, the ports of cat,
sort and tar must be replaced with the djdev204 ports of them or the build will
fail. I have installed the binaries produced in the first build and used them
to compile the sources again. I expirenced no problem.
Neitherless something seems to be brocken. I cannot produce programs that
can be debuged. If I compile a hello-world program which main function is
not void I always get the error output below:
C:\tmp>gdb a.exe
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i786-pc-msdosdjgpp --target=djgpp".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:/tmp/a.exe...done.
(gdb) b main
Breakpoint 1 at 0x1ed9: file 1.c, line 5.
(gdb) r foo bar
Starting program: c:/tmp/a.exe foo bar
Breakpoint 1, main (
argc=<error reading variable: can't compute CFA for this frame>,
argv=<error reading variable: can't compute CFA for this frame>) at 1.c:5
5 for (i = 0; i < 10; i++)
(gdb)
I compiled with -g[0-3] -O0. The only reference I found related to this error
message was this:
RFC: DW_OP_call_frame_cfa, again by Tom Tromey
<http://old.nabble.com/RFC%3A-DW_OP_call_frame_cfa%2C-again-td24925508.html#a25259165>
but I do not understand this stuff.
If more info is needed let me know.
Regards,
Juan M. Guerrero
- Raw text -