www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - make usage?

reply rjm <rjm_member pathlink.com> writes:
Hello, I can't find a place to get any help with this so i'm asking here, also I
couldn't search this forum, so I couldn't any information on this problem here,
or on groups.google.com

anyways, my problem is such that when i attempt to do a make on the c++ win32
sample GEN32 using DMC, i always get this error:
"Error on line 22: expecting target : dependencies"

I really can't figure out what the problem is, and i don't even know the correct
syntax i should be using, i've tried a lot of variations like
C:\cpp\GEN32>"c:\dm\bin\make" -f makefile
C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak
C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile
and so on...

anyone know how to get it working? 
tnx
rjm
Jun 20 2006
next sibling parent chris elliott <biol75 york.ac.uk> writes:
you need a specific makefile for dmc (perhaps called makefile.dmc). 
Inside this there should be commands like

dmc [flags] [output] code.cpp

makefile is probably for gcc/g++ gem.mak for visual C

chris

rjm wrote:
 Hello, I can't find a place to get any help with this so i'm asking here, also
I
 couldn't search this forum, so I couldn't any information on this problem here,
 or on groups.google.com
 
 anyways, my problem is such that when i attempt to do a make on the c++ win32
 sample GEN32 using DMC, i always get this error:
 "Error on line 22: expecting target : dependencies"
 
 I really can't figure out what the problem is, and i don't even know the
correct
 syntax i should be using, i've tried a lot of variations like
 C:\cpp\GEN32>"c:\dm\bin\make" -f makefile
 C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak
 C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile
 and so on...
 
 anyone know how to get it working? 
 tnx
 rjm
 
 
Jun 21 2006
prev sibling next sibling parent Scott Michel <scottm aero.org> writes:
rjm wrote:
 Hello, I can't find a place to get any help with this so i'm asking here, also
I
 couldn't search this forum, so I couldn't any information on this problem here,
 or on groups.google.com
 
 anyways, my problem is such that when i attempt to do a make on the c++ win32
 sample GEN32 using DMC, i always get this error:
 "Error on line 22: expecting target : dependencies"
And line 22 of the make file looks like?
Jun 21 2006
prev sibling parent rjm <rjm_member pathlink.com> writes:
well, there's 2 possible files, and somone mentioned that one might be
specialized for dmc so i tried both, the "makefile" without extension, and the
"gen32.mak" both of which come with this sample (it's in the samples folder for
dmc). and "makefile" which also appears to be the default detected, gives me the
line 22 error, and "gen32.mak" gives me a line 5 error. (to use gen32.mak, the
-f switch is required)

both files are in the dmc distribution C:\dm\samples\WIN32\FRMWORK\GEN32

so perhaps the question is if i'm even using the correct sample, all i really
want is a framework for a win32 app. that i can work off of.
(the gen32.mak is attached for reference)
rjm

In article <e79ucf$l92$1 digitaldaemon.com>, rjm says...
Hello, I can't find a place to get any help with this so i'm asking here, also I
couldn't search this forum, so I couldn't any information on this problem here,
or on groups.google.com

anyways, my problem is such that when i attempt to do a make on the c++ win32
sample GEN32 using DMC, i always get this error:
"Error on line 22: expecting target : dependencies"

I really can't figure out what the problem is, and i don't even know the correct
syntax i should be using, i've tried a lot of variations like
C:\cpp\GEN32>"c:\dm\bin\make" -f makefile
C:\cpp\GEN32>"c:\dm\bin\make" -f gen32.mak
C:\cpp\GEN32>"c:\dm\bin\make" all -f makefile
and so on...

anyone know how to get it working? 
tnx
rjm
rjm begin 0644 GEN32.MAK M3U))1TE."0D](%-Y;6%N=&5C($,K*PT*3U))1TE.7U9%4 D](%9E<G-I;VX M14)51PD)/2`D*%-50E]$14)51RD-"DY$14)51PD)/2`A)"A354)?1$5"54<I M7"XN7"XN7"XN7&EN8VQU9&5<=VEN,S)<<V-D969S+F +BY<+BY<+BY<+BY< M:6YC;'5D95QW:6XS,EQ724Y$3U=3+D (%P-" D)+BY<+BY<+BY<+BY<:6YC M;'5D95QE>&-P="YH("XN7"XN7"XN7"XN7&EN8VQU9&5<<W1D87)G+F +BY< M+BY<+BY<+BY<:6YC;'5D95QW:6YD968N:"`N+EPN+EPN+EPN+EQI;F-L=61E M;G0N:"`N+EPN+EPN+EPN+EQI;F-L=61E7'=I;C,R7%=)3DY4+D +BY<+BY< M+BY<+BY<:6YC;'5D95QC='EP92YH("XN7"XN7"XN7"XN7&EN8VQU9&5<<'-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5<;V%I9&PN:"` 7`T*"0DN+EPN+EPN+EPN+EQI;F-L=61E7'=I M;C,R7&]A:61L+F +BY<+BY<+BY<+BY<:6YC;'5D95QO;&5I9&PN:"`N+EPN M+EPN+EPN+EQI;F-L=61E7'=I;C,R7&]L96ED;"YH("XN7"XN7"XN7"XN7&EN M8VQU9&5<=VEN<W9C+F (%P-" D)+BY<+BY<+BY<+BY<:6YC;'5D95QW:6XS M,EQ724Y35D,N2"`N+EPN+EPN+EPN+EQI;F-L=61E7&UC>"YH("XN7"XN7"XN M7"XN7&EN8VQU9&5<=VEN,S)<34-8+D +BY<+BY<+BY<+BY<:6YC;'5D95QI M;6TN:"` 7`T*"0DN+EPN+EPN+EPN+EQI;F-L=61E7'=I;C,R7$E-32Y((&=L M;V)A;',N:"`N+EPN+EPN+EPN+EQI;F-L=61E7'=I;F1O=W-X+F +BY<+BY< M+F +BY<+BY<+BY<+BY<:6YC;'5D95QW:6XS,EQ724Y215-20RY(("XN7"XN M7"XN7"XN7&EN8VQU9&5<=VEN<F5S<F,N:"`-" T*1$5&1DE,10D)/2!'14XS M5510551$25()/0T*5$%21T541$E2"3T + T*0U)%051%5$%21T541$E2"3T- M"0D]("`M2FT +4A8("UM;B`M0R`M5T$ +5, +3, +6$X("UC("UW+2`M=S( M+7<V("UG(`T*3$9,04=3"0D]("`O0T\ +TY/22`O1$4 +U!!0TM&("]83B`O M1T541$E2"3T + T*0U)%051%5$%21T541$E2"3T-" T*4UE-4D]/5`D)/2`- M1$DS,BY,24( 55-%4C,R+DQ)0B`-" T*0T9,04=3"0D]("`M2FT +4A8("UM M1T=%4D9,04=3"3T (`T*049,04=3"0D]("0H0T9,04=3*2`-"DA%3%!&3$%' M14Q01DE,15,)/2`-" T*0D%44PD)/2`-" T*+E-51D9)6$53.B`N0R`N0U` M3D53*2`D*$E.0TQ51$53*2`M;R0J+F]B:B`D*BYC<'`-" T*+D-86"Y/0DHZ M1$5&24Y%4RD )"A)3D-,541%4RD +6\D*BYO8FH )"HN8V,-" T*+D-0+D]" M1$5&24Y%4RD )"A)3D-,541%4RD +4A&("UO+EPD*"I"*2YS>6T )"HN:`T* M0TQ51$53*2`M2$8 +6\N7"0H*D(I+G-Y;2`D*BYH<'`-" T*+DA86"Y364TZ M1DQ!1U,I("0H1$5&24Y%4RD )"A)3D-,541%4RD ("`D*BYC("` +6\D*BYL M4#H- M"BY/0DHN0T]$. T*"20H1$E305--*2`D*BY/0DH +6,-" T*(4E&("0H1$5" M+DQ.2PT*86)O=70N3T)**PT*9&ES<&%T8V N3T)**PT*9V5N97)I8RY/0DHK M;R!>(VEN8VQU9&4 (G=I;F1O=W,N:"( /B0D)"HN<F,-" EE8VAO(%Y)1B!% M(#X^)"0D*BYR8PT*"65C:&\ 7B-I;F-L=61E("(D*BYD;&<B(#X^)"0D*BYR M8PT*"20H4D,I("0H4D-$149)3D53*2`D*%)%4T9,04=3*2`D*$E.0TQ51$53 M("0H4UE-4RD )"A/0DI3*2`D*$E.0TQ51$5$3T)*4RD )"A03U-40T]-4$E, M12D )"A405)'151$25(I7"0H4%)/2BDN)"A04D]*5%E012D )"A03U-43$E. M*%-935,I("0H3T)*4RD )"A)3D-,541%1$]"2E,I("0H4$]35$-/35!)3$4I M("0H5$%21T541$E2*5PD*%!23THI+B0H4%)/2E194$4I("0H4$]35$Q)3DLI M4BD-" T*8W)E871E9&ER. T*"20H0U)%051%3U544%541$E2*0T*"20H0U)% M051%5$%21T541$E2*0T*"0T*)"A405)'151$25(I7"0H4%)/2BDN)"A04D]* M5%E012DZ("0H3T)*4RD )"A)3D-,541%1$]"2E,I("0H4D-&24Q%4RD )"A2 M15-&24Q%4RD )"A(14Q01DE,15,I("0H1$5&1DE,12D-" D)"2UD96P )"A4 M05)'151$25(I7"0H4%)/2BDN)"A04D]*5%E012D-"B%)1B`D*$1%0E5'*0T* M;BYL:6( 2T523D5,,S(N3$E"($=$23,R+DQ)0B!54T52,S(N3$E"(`T*1T5. M,S(N1$5&.PT*/#P- M4D]**2Y,3DL-"F%B;W5T+D]"2BL-"F1I<W!A=&-H+D]"2BL-"F=E;F5R:6,N M"2UR96X )"A405)'151$25(I7"0D4T-7)"0N)"A04D]*5%E012D )"A04D]* M*2XD*%!23TI465!%*0T*"0D)+65C:&\ )"A405)'151$25(I7"0H4%)/2BDN M;CH-" D)+61E;"`D*%1!4D=%5$1)4BE<)"130U<D)"XD*%!23TI465!%*0T* M"B%)1B`D*$1%0E5'*0T*"0DD*$Q.2RD )"A,1DQ!1U,I($`\/"0H4%)/2BDN M6$4-"DY53`T*=F5R<VEO;BYL:6( 2T523D5,,S(N3$E"($=$23,R+DQ)0B!5 M4T52,S(N3$E"(`T*1T5.,S(N1$5&.PT*/#P- M*$Q&3$%'4RD 0#P\)"A04D]**2Y,3DL-"F%B;W5T+D]"2BL-"F1I<W!A=&-H ` end
Jun 22 2006