January 23, 2003 Re: DTL? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "Walter" <walter@digitalmars.com> escreveu na mensagem news:b0oh2c$2f4i$1@digitaldaemon.com... > > "Daniel Yokomiso" <daniel_yokomiso@yahoo.com.br> wrote in message news:avt7mv$15qv$2@digitaldaemon.com... > > Take your time. D is great, I enjoy helping it get better. It's just that > > I'm getting some bugs hard to nail down. My codebase is getting larger and > > I'm getting some misterious illegal access errors only when some of my modules get linked, but not when others get linked. I don't want to give > you > > a "It crashes!" bug report, or a "Download my codebase and track down a nasty bug in more than 10000 lines of D code for me". > > There are several bugs in DMD that happen when multiple files are compiled on the same command line. Try splitting them into separate lines, i.e. for: > dmd foo bar > replace with: > dmd -c foo > dmd -c bar > dmd foo.obj bar.obj There's any easy way to do this using dmd's make? Right now I define some macros with the source and object file names, to simplify my target definition. With 17 modules already (I try to keep unrelated code in independent modules) would be difficult to change my targets. Also I'm not proficient with make, there's any manual/tutorial for it? The documentation seems pretty scarce and I was spoiled by the Java compiler, so I'm not familiar with other make utilities (besides Ant). --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003 |
January 23, 2003 Re: DTL? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Yokomiso | I didn't pick any particular link, but here's a Google search: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=gnu+make+tutorial I'm pretty sure there's a GNU make for Win32, probably available from the CygWin or MinGW sets of code. DJGPP should also come with "make", or you could at least download the GNU make source code and build it with DJGPP or Cygwin. Cheers! Daniel Yokomiso wrote: > > There's any easy way to do this using dmd's make? Right now I define some > macros with the source and object file names, to simplify my target > definition. With 17 modules already (I try to keep unrelated code in > independent modules) would be difficult to change my targets. Also I'm not > proficient with make, there's any manual/tutorial for it? The documentation > seems pretty scarce and I was spoiled by the Java compiler, so I'm not > familiar with other make utilities (besides Ant). -- Christopher J. Sequeira '05 csequeir@__mit.edu (remove hyphens for email) |
January 23, 2003 Re: DTL? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christopher J. Sequeira | "Christopher J. Sequeira" <csequeir@__mit.edu> escreveu na mensagem news:b0pdh5$2vuq$1@digitaldaemon.com... > I didn't pick any particular link, but here's a Google search: > > http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=gnu+make+tutorial > > I'm pretty sure there's a GNU make for Win32, probably available from the CygWin or MinGW sets of code. DJGPP should also come with "make", or you could at least download the GNU make source code and build it with DJGPP or Cygwin. Cheers! > Thanks, but I was asking about dmd's make. I think I'll resort to ant, so I don't need to start a cygwin session just to compile and run my tests. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003 |
January 24, 2003 Re: DTL? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Yokomiso | "Daniel Yokomiso" <daniel_yokomiso@yahoo.com.br> wrote in message news:b0osdn$2lh4$1@digitaldaemon.com... > There's any easy way to do this using dmd's make? Right now I define some macros with the source and object file names, to simplify my target definition. With 17 modules already (I try to keep unrelated code in independent modules) would be difficult to change my targets. Also I'm not proficient with make, there's any manual/tutorial for it? The documentation > seems pretty scarce and I was spoiled by the Java compiler, so I'm not familiar with other make utilities (besides Ant). Take a look at \dmd\src\phobos\makefile, that should be all you need. |
January 24, 2003 Re: DTL? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "Walter" <walter@digitalmars.com> escreveu na mensagem news:b0qdah$hlm$1@digitaldaemon.com... > > "Daniel Yokomiso" <daniel_yokomiso@yahoo.com.br> wrote in message news:b0osdn$2lh4$1@digitaldaemon.com... > > There's any easy way to do this using dmd's make? Right now I define some > > macros with the source and object file names, to simplify my target definition. With 17 modules already (I try to keep unrelated code in independent modules) would be difficult to change my targets. Also I'm not > > proficient with make, there's any manual/tutorial for it? The > documentation > > seems pretty scarce and I was spoiled by the Java compiler, so I'm not familiar with other make utilities (besides Ant). > > Take a look at \dmd\src\phobos\makefile, that should be all you need. > > Where do you think my makefile came? ;-) |
Copyright © 1999-2021 by the D Language Foundation