Re: MS Free compiler
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2005-09-16 18:58:14
|
Hi Arnold! On 15/09/05 15:40, Arnold Wiegert wrote: > Hello Salvador, > > I got a chance to work some more with the free compiler tests. > > After downloading the Sep 12 snapshot etc. I found the following: > > In tvision: > > invoking nmake -f Makefile.nmk > only compiled mlink.c > > going to makes and trying > nmake MKF_EXT=".nmk" -f librhtv.bmk > did nothing more, but > nmake MKF_EXT=".nmk" -f librhtv.bmk librhtv.lib > did compile the library > > But when I try to compile setedit, all it compiles is infview - and it > seems to run when I load it. > > When I modify Makefile.bcc as: > editor: libs > -cd makes > $(MAKE) MKF_EXT="$(MKF_EXT)" DEBUG="$(DEBUG)" -f editor.bmk all > -cd .. Ok, I see, the "all" target isn't special like in GNU/Make. I'm adding "all" to setedit *and* tvision. > It finally compiles the editor code, but at the end I get this error > .............. > Creating library editor.lib and object editor.exp > pcre.lib(study.o) : warning LNK4217: locally defined symbol > _pcre_malloc importe > d in function _pcre_study > specs.obj : error LNK2019: unresolved external symbol "char const * > __cdecl GetV > ariable(char const *)" (?GetVariable@@YAPBDPBD@Z) referenced in > function "char * > __cdecl expand_variable(char *)" (?expand_variable@@YAPADPAD@Z) > editor.exe : fatal error LNK1120: 1 unresolved externals > NMAKE : fatal error U1077: 'mlink' : return code '0x460' > Stop. > NMAKE : fatal error U1077: '"I:\Program Files\Microsoft Platform > SDK\Bin\nmake.e > xe"' : return code '0x2' > Stop. > > Hope this make sense to you - I'm not all that familiar with nmake > because I usually use another make utility, so I'm guessing a lot. Thanks, it makes sense, even when I don't use nmake at all ;-) The undefined reference seems to be a consequence of the (brut force) methode used by mlink. I'm updating the snapshots. Regards, SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |