Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 19, 2006 How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Hi all, I do have experiance with FileMaker, and some RAD tools. recently started to learn C++ (GUI Platform) going quit well, to write my own extentions for my tools, some how I bumped into DigitalMars site, it looks very promising but for this kind of work (shell,linking and so forth) I'm a total newbee. Can somebody give me exactly what to down load, where and who to install? Computer I'm mostly using is MAC OSX 10.3.9 G5 (currently) Ps. If I'll get it doing properly I might write a text editor to get things easiar going. Thanks, a million. zvi |
July 19, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to zvi | zvi wrote: > Hi all, I do have experiance with FileMaker, and some RAD tools. recently > started to learn C++ (GUI Platform) going quit well, to write my own extentions for my tools, some how I > bumped into DigitalMars site, it looks very promising but for this kind of work (shell,linking and so > forth) I'm a total newbee. Can somebody give me exactly what to down load, where and who to install? Computer > I'm mostly using is MAC OSX 10.3.9 G5 (currently) 1) Install the Xcode Tools 1.5, available from Apple 2) http://prdownloads.sf.net/gdcmac/gdc-0.18-mac-10.3.dmg 3) http://gdcmac.sourceforge.net/GettingStarted.pdf HTH, --anders |
July 19, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Thanks, > >1) Install the Xcode Tools 1.5, available from Apple > >2) http://prdownloads.sf.net/gdcmac/gdc-0.18-mac-10.3.dmg > >3) http://gdcmac.sourceforge.net/GettingStarted.pdf I followed instructions, downloded, did a general (not custom) install, and the same with the second link. And nothing happening. Looks like i'm still missing something > >HTH, >--anders |
July 20, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to zvi | zvi wrote:
> I followed instructions, downloded, did a general (not custom) install, and the
> same with the second link. And nothing happening.
> Looks like i'm still missing something
If you use a Terminal window, it should reply something like this:
# gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# gdc --version gdc (GCC) 3.3.6 (gdc 0.18, using dmd 0.157)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If those two programs are not present, then the installation failed.
--anders
PS. You don't enter the # marks, just the part after it.
Maybe that is what happened ? (the # means a comment
when used as a command, it just represents the prompt)
|
October 29, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Hi and thanks, I finaly got it to work and this what I got gcc --versiongcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. gdc --version gdc (GCC) 3.3.6 (gdc 0.19, using dmd 0.162) (looks like a different build) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. But when I enter the command... thats what I get, gdc nothing.d gdc: nothing.d: No such file or directory gdc: no input files . Do I need to save in a certain dir? O change dir before I write this command? TIA |
October 29, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to %u | %u wrote: > Hi and thanks, I finaly got it to work and this what I got > > gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) > > gdc (GCC) 3.3.6 (gdc 0.19, using dmd 0.162) (looks like a different build) Those two are as close as it gets for Mac OS X 10.3, since the Apple version of GCC 3.3 doesn't build with the GDC patches... Looks good. > Do I need to save in a certain dir? O change dir before I write this command? Yes, you need to be in the same directory as the file. Like gcc ? --anders |
October 30, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | == Quote from Anders_F_Björklund (afb@algonet.se)'s article > zvi wrote: > Those two are as close as it gets for Mac OS X 10.3, since the > Apple version of GCC 3.3 doesn't build with the GDC patches... > Looks good. so are you trying to say that it wouldn't work? or I need something else, or? > --anders >Looks good. |
October 30, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to ZVI | ZVI wrote:
>>Those two are as close as it gets for Mac OS X 10.3, since the
>>Apple version of GCC 3.3 doesn't build with the GDC patches...
>
> so are you trying to say that it wouldn't work? or I need something else, or?
No, I am saying that it Looks Good and that it should work OK... :-)
For Mac OS X 10.4, it is possible to compile the Apple/Mac GCC version
with D support but on Mac OS X 10.3 we have to use the FSF GCC version.
So that was why the versions of gcc and gdc didn't match on Mac OS X,
but it shouldn't be of any problem - since both are based on GCC 3.3 ?
As a side note I haven't packaged up the Xcode 2.4 compiler with GDC
in "gdcmac", but you can download the Xcode 2.3 compiler from "dgcc".
(i.e. the GDC version available for Mac OS X 10.4 on gdcmac site are currently made from the FSF GCC 4.0.1, and not from the Apple/Mac GCC)
Again, it shouldn't make much of a difference which GCC variant is used.
--anders
|
October 30, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | == Quote from Anders_F_Björklund (afb@algonet.se)'s article > > > > so are you trying to say that it wouldn't work? or I need something else, or? > No, I am saying that it Looks Good and that it should work OK... :-) Thanks, but back to the previous problem, it doesn't work. this is what I get when I change dir to where the file is and put "gdmd nothing.d" gdc: nothing.d: No such file or directory gdc: no input files what might be the problem? I tryed the same thing with a "c" and "cpp" file and it works good. I just can't figure it out. TIA ( a million) ZVI > --anders |
October 30, 2006 Re: How do I start ? Total Newbee | ||||
---|---|---|---|---|
| ||||
Posted in reply to ZVI | ZVI wrote:
> Thanks, but back to the previous problem, it doesn't work.
> this is what I get when I change dir to where the file is and
> put "gdmd nothing.d"
> gdc: nothing.d: No such file or directory
> gdc: no input files
> what might be the problem?
What are you trying to accomplish ? Are you following the little "GettingStarted" introduction I wrote ? Does "nothing.d" exist ?
Can you list it in the Terminal, and view it with: "more nothing.d"
There should be no reason why it would work with .c/.cpp and not .d
--anders
|
Copyright © 1999-2021 by the D Language Foundation