I downloaded the beta version and built
on a windows machine using build_w32.bat.
Build using 3.80 works fine. But with
3.81 I get errors on passing the flags to 'sed'
It there anything else that I need to
consider.
GMAKE 3.80 version
D:\sde2\sde_template\comps\tmComp1>gmake
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/phFlags.h
Making d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.mk
Making d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/phFlags.mk
Making dependencies for tmComp1.c ...
compiling D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c
tmComp1.c
Building library d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/libtmComp1
_g.lib
GMAKE 3.81beta version
D:\sde2\sde_template\comps\tmComp1>gnumake
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
d:/sde2/sde_template/sde/cygwin/sed:
-e _expression_ #1, char 30: Unknown option t
o 's'
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
Syntax error: "(" unexpected
generating d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/tmFlags.h
d:/sde2/sde_template/sde/cygwin/sed:
-e _expression_ #1, char 30: Unknown option t
o 's'
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
-e: not found
Syntax error: "(" unexpected
SDE2 can not find definition of _tmComp1_DIR.
Update your prjlist.txt or loc_lis
t.* files !!!\
D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c:5:
stdio.h: No such file or dir
ectory
Making dependencies for tmComp1.c ...
compiling D:/sde2/sde_template/comps/tmComp1/src/tmComp1.c
Microsoft (R) 32-bit C/C++ Optimizing
Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation
1984-2002. All rights reserved.
Please respond to
"Paul D. Smith" <address@hidden>
To
Bhaskar G/BTC/SC/address@hidden
cc
address@hidden
Subject
Re: gmake with -B option
Classification
%% Bhaskar G <address@hidden> writes:
bg> I am generating a makefile using echo, sed and awk commands
if the
bg> makefile is not existing.
bg> makefile: <prerequisites>
bg> commands
bg> ifneq ($(ALLOK),ok)
bg> makefile: FORCE
bg> endif
bg> This works absolutely fine when I use gmake. When I use the
gmake
bg> with a -B option. The process loops in making the makefile
and
bg> doesnot proceed further.
You might check the latest beta. I believe there were some issues
with
-B in 3.80 that have been fixed.
If that doesn't help please create a small, self-contained makefile that
illustrates the problem and post it here; it's difficult to tell what
might be wrong from the bits above.
Good luck!
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find
some GNU make tips at:
http://www.gnu.org
http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional."
--Mad Scientist