GDC documentation and debugging problems

Iain Buclaw ibuclaw at ubuntu.com
Fri Sep 7 07:01:08 PDT 2012


On Friday, 7 September 2012 at 13:33:53 UTC, Gyula Gubacsi wrote:
> Hi,
>
> I'm trying to build the gdc project but I ran in to the problem 
> that
> since you moved to the github, there isn't really a project 
> page that
> would describe how to build the gdc project that is up-to-date. 
> I
> noticed that there were some changes in the project structure, 
> so it
> would make sense to take the docs from the bitbucket website 
> and add
> them to the git repository's root. (Currently, the system finds 
> the
> README in the 
> "https://github.com/D-Programming-GDC/GDC/tree/master/gcc/d"
> directory, but this file doesn't contain any description how to 
> build
> the current source tree. I will probably work it out for my 
> self, but
> it would be great if you could move the bitbucket wiki/readme 
> to the
> github repo's root.
>
> As an other question, I'm working on Linux Mint, and I tried to 
> build
> a simple hello world program with gdc and debug it with gdb. I
> compiled my little program with the following command:
>
>     $ gdc -fdebug-c main.d -o main
>     cc1d: warning: command line option "-imultilib" is valid for
> C/C++/Fortran/ObjC/ObjC++ but not for D
>

This particular warning is to do with the way the package 
maintainers have built gdc, and not to do with the compiler 
itself.  But should be mostly harmless in non-multilib situations.


Regards
Iain


More information about the D.gnu mailing list