BSD Config

Tyro[17] ridimz at yahoo.com
Sun Nov 10 11:10:02 PST 2013


On 11/10/13, 12:16 PM, nazriel wrote:
> On Sunday, 10 November 2013 at 16:49:18 UTC, Tyro[17] wrote:
>> What is the proper way to configure DMD for use on BSD systems?
[Snip]
>
> Try running it with gmake
>

Ok... Thanks for the pointer. I tried it and got much further than 
before. Pays to use the right tool for the job. I still ran into
problems though:

g++  -c -Wno-deprecated -Wstrict-ailiasing -D__pascal= -fno-exceptions 
-O2  -Ibackend -Itk -Iroot -DMARS=1 -DTARGET_FREEBSD=1 
-DDM_TARGET_CPU_X86=1 -DDMDV2=1 -I. backend/dwarf.c
backend/dwarf.c: In function 'void dwarf_initfile(const char*)':
backend/dwarf.c:658:9: error 'error' was not declared in this scope
backend/dwarf.c:662:35: error 'getcwd' was not declared in this scope
backend/dwarf.c:667:22: error 'ERANGE' was not declared in this scope
gmake: *** [dwarf.o] Error 1


Any pointers?

Thanks.
-- 

Andrew Edwards
--------------------
http://www.akeron.co
auto getAddress() {
     string location = "@", period = ".";
     return ("info" ~ location ~ "afidem" ~ period ~ "org");
}


More information about the Digitalmars-d mailing list