Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Environment Variable - Makefile
Environment Variable - Makefile [message #58004] Tue, 14 January 2003 16:58 Go to next message
Eclipse UserFriend
Originally posted by: kishore.tlon.de

This is a multi-part message in MIME format.

------=_NextPart_000_007C_01C2BBF6.962E97A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello CDT user and developers,

I would like to understand how cdt understands the make file.I would be =
pleased, if somebody could explain with the context i need =
understanding.


My make file for the c/c++ project look like this:
U can see the variable defined, for the make file.
PROC=3DarmTYPE=3DelfTESLIBPATH=3D../../../..
BSPTARGETPATH=3D$(TESLIBPATH)/TESPacks_Bsp/TP_Startup/DebugL DSCRIPT=3D =
$(BSPTARGETPATH)/ldscriptBASEPATH =3D /cygdrive/c/gnude =
INCPATH=3D$(BASEPATH)/$(PROC)-$(TYPE)/include -I $(TESLIBPATH) =
\LIBPATH1=3D$(BASEPATH)/lib/gcc-lib/$(PROC)-$(TYPE)/3.1LIBPA TH2=3D$(BASEP=
ATH)/$(PROC)-$(TYPE)/libSTARTFILES=3D $(LIBPATH1)/crti.o =
\$(LIBPATH1)/crtbegin.o \$(BSPTARGETPATH)/crt0.o \ENDFILES=3D =
$(LIBPATH1)/crtend.o \$(LIBPATH1)/crtn.o \

CC=3D$(BASEPATH)/bin/arm-elf-gcc.exe \ .......

....





So how should i set the environment variable to run make using this make =
file.
Thanks
--=20
Kishore Kumar Sathyanandam
TLON GmbH
kishore@tlon.de
+49 (0)791 - 9305017
------=_NextPart_000_007C_01C2BBF6.962E97A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hello CDT user and =
developers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would like to understand how cdt =
understands the=20
make file.I would be pleased, if somebody could explain with the context =
i need=20
understanding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My make file for the c/c++ project look =
like=20
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>U can see the variable defined, for the =
make=20
file.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><PRE><FONT =
size=3D1>PROC=3Darm</FONT></PRE><PRE><FONT =
size=3D1>TYPE=3Delf</FONT></PRE>
<DIV><FONT size=3D1>TESLIBPATH=3D../../../..</FONT></DIV><PRE><FONT =
size=3D1>BSPTARGETPATH=3D$(TESLIBPATH)/TESPacks_Bsp/TP_Startup/Debug </FON=
T></PRE><PRE><FONT size=3D1>LDSCRIPT=3D =
$(BSPTARGETPATH)/ldscript</FONT></PRE><PRE><FONT size=3D1>BASEPATH =3D =
/cygdrive/c/gnude </FONT></PRE><PRE><FONT =
size=3D1>INCPATH=3D$(BASEPATH)/$(PROC)-$(TYPE)/include -I $(TESLIBPATH) =
\</FONT></PRE><PRE><FONT =
size=3D1>LIBPATH1=3D$(BASEPATH)/lib/gcc-lib/$(PROC)-$(TYPE)/3.1 </FONT></P=
RE><PRE><FONT =
size=3D1>LIBPATH2=3D$(BASEPATH)/$(PROC)-$(TYPE)/lib</FONT> </PRE><PRE><FON=
T size=3D1>STARTFILES=3D $(LIBPATH1)/crti.o \</FONT></PRE><PRE><FONT =
size=3D1>$(LIBPATH1)/crtbegin.o \</FONT></PRE><PRE><FONT =
size=3D1>$(BSPTARGETPATH)/crt0.o \</FONT></PRE><PRE><FONT =
size=3D1>ENDFILES=3D $(LIBPATH1)/crtend.o \</FONT></PRE><PRE><FONT =
size=3D1>$(LIBPATH1)/crtn.o \</FONT></PRE>
<P><FONT face=3DArial size=3D1></FONT>&nbsp;</P>
<P><FONT face=3DArial size=3D1>CC=3D$(BASEPATH)/bin/arm-elf-gcc.exe \=20
.......</FONT></P>
<P><FONT face=3DArial size=3D1>....</FONT></P>
<P>&nbsp;</P>
<P><FONT face=3DArial size=3D2></FONT>&nbsp;</P></BLOCKQUOTE>
<DIV><FONT face=3DArial size=3D2>So how should i set the environment =
variable to run=20
make using this make file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT><BR><FONT face=3DArial =
size=3D2>--=20
<BR>Kishore Kumar Sathyanandam<BR>TLON GmbH<BR></FONT><A=20
href=3D"mailto:kishore@tlon.de"><FONT face=3DArial=20
size=3D2>kishore@tlon.de</FONT></A><BR><FONT face=3DArial size=3D2>+49 =
(0)791 -=20
9305017</FONT></DIV></BODY></HTML>

------=_NextPart_000_007C_01C2BBF6.962E97A0--
Re: Environment Variable - Makefile [message #58053 is a reply to message #58004] Tue, 14 January 2003 18:17 Go to previous message
Eclipse UserFriend
Originally posted by: kishore.tlon.de

This is a multi-part message in MIME format.

------=_NextPart_000_00A4_01C2BC01.89CD5680
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
I have the cygwin.dll in this path C:\gnude\bin. I need to set this path =
in the env variable.
Since i dont want to use the normal C.\cygwin\bin.
But now eclipse couldnt find the gdb though i copied the =
gdb.exe(v5.2.1) in this path.
Though, i could compile my project with makefile shown in previously =
mail, i couldnt debug the project from the eclipse environment.

Could any one help.
Thanking in advance,

--=20
Kishore Kumar Sathyanandam
TLON GmbH
kishore@tlon.de
+49 (0)791 - 9305017
"Kishore Kumar Sathyanandam" <kishore@tlon.de> schrieb im Newsbeitrag =
news:b01e90$hk1$1@rogue.oti.com...
Hello CDT user and developers,

I would like to understand how cdt understands the make file.I would =
be pleased, if somebody could explain with the context i need =
understanding.


My make file for the c/c++ project look like this:
U can see the variable defined, for the make file.
PROC=3DarmTYPE=3DelfTESLIBPATH=3D../../../..
BSPTARGETPATH=3D$(TESLIBPATH)/TESPacks_Bsp/TP_Startup/DebugL DSCRIPT=3D =
$(BSPTARGETPATH)/ldscriptBASEPATH =3D /cygdrive/c/gnude =
INCPATH=3D$(BASEPATH)/$(PROC)-$(TYPE)/include -I $(TESLIBPATH) =
\LIBPATH1=3D$(BASEPATH)/lib/gcc-lib/$(PROC)-$(TYPE)/3.1LIBPA TH2=3D$(BASEP=
ATH)/$(PROC)-$(TYPE)/libSTARTFILES=3D $(LIBPATH1)/crti.o =
\$(LIBPATH1)/crtbegin.o \$(BSPTARGETPATH)/crt0.o \ENDFILES=3D =
$(LIBPATH1)/crtend.o \$(LIBPATH1)/crtn.o \

CC=3D$(BASEPATH)/bin/arm-elf-gcc.exe \ .......

....





So how should i set the environment variable to run make using this =
make file.
Thanks
--=20
Kishore Kumar Sathyanandam
TLON GmbH
kishore@tlon.de
+49 (0)791 - 9305017
------=_NextPart_000_00A4_01C2BC01.89CD5680
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have the cygwin.dll in this path =
</FONT><FONT=20
face=3DArial size=3D2>C:\gnude\bin. I need to set this path in the env=20
variable.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Since i dont want to use the normal=20
C.\cygwin\bin.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;But now eclipse couldnt find the =
gdb though i=20
copied the gdb.exe(v5.2.1) in this path.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Though,&nbsp;i could compile my project =
with=20
makefile shown in previously mail, i couldnt debug the project from the =
eclipse=20
environment.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Could any one help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanking in =
advance,</FONT></DIV></FONT></DIV>
<DIV><BR>-- <BR>Kishore Kumar Sathyanandam<BR>TLON GmbH<BR><A=20
href=3D"mailto:kishore@tlon.de">kishore@tlon.de</A><BR>+49 (0)791 - =
9305017</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kishore Kumar Sathyanandam" &lt;<A=20
href=3D"mailto:kishore@tlon.de">kishore@tlon.de</A>&gt; schrieb im =
Newsbeitrag=20
<A=20
=
href=3D"news:b01e90$hk1$1@rogue.oti.com">news:b01e90$hk1$1@rogue.oti.com<=
/A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Hello CDT user and =
developers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would like to understand how cdt =
understands=20
the make file.I would be pleased, if somebody could explain with the =
context i=20
need understanding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My make file for the c/c++ project =
look like=20
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>U can see the variable defined, for =
the make=20
file.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><PRE><FONT =
size=3D1>PROC=3Darm</FONT></PRE><PRE><FONT =
size=3D1>TYPE=3Delf</FONT></PRE>
<DIV><FONT size=3D1>TESLIBPATH=3D../../../..</FONT></DIV><PRE><FONT =
size=3D1>BSPTARGETPATH=3D$(TESLIBPATH)/TESPacks_Bsp/TP_Startup/Debug </FON=
T></PRE><PRE><FONT size=3D1>LDSCRIPT=3D =
$(BSPTARGETPATH)/ldscript</FONT></PRE><PRE><FONT size=3D1>BASEPATH =3D =
/cygdrive/c/gnude </FONT></PRE><PRE><FONT =
size=3D1>INCPATH=3D$(BASEPATH)/$(PROC)-$(TYPE)/include -I $(TESLIBPATH) =
\</FONT></PRE><PRE><FONT =
size=3D1>LIBPATH1=3D$(BASEPATH)/lib/gcc-lib/$(PROC)-$(TYPE)/3.1 </FONT></P=
RE><PRE><FONT =
size=3D1>LIBPATH2=3D$(BASEPATH)/$(PROC)-$(TYPE)/lib</FONT> </PRE><PRE><FON=
T size=3D1>STARTFILES=3D $(LIBPATH1)/crti.o \</FONT></PRE><PRE><FONT =
size=3D1>$(LIBPATH1)/crtbegin.o \</FONT></PRE><PRE><FONT =
size=3D1>$(BSPTARGETPATH)/crt0.o \</FONT></PRE><PRE><FONT =
size=3D1>ENDFILES=3D $(LIBPATH1)/crtend.o \</FONT></PRE><PRE><FONT =
size=3D1>$(LIBPATH1)/crtn.o \</FONT></PRE>
<P><FONT face=3DArial size=3D1></FONT>&nbsp;</P>
<P><FONT face=3DArial size=3D1>CC=3D$(BASEPATH)/bin/arm-elf-gcc.exe =
\=20
.......</FONT></P>
<P><FONT face=3DArial size=3D1>....</FONT></P>
<P>&nbsp;</P>
<P><FONT face=3DArial size=3D2></FONT>&nbsp;</P></BLOCKQUOTE>
<DIV><FONT face=3DArial size=3D2>So how should i set the environment =
variable to=20
run make using this make file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT><BR><FONT face=3DArial =
size=3D2>--=20
<BR>Kishore Kumar Sathyanandam<BR>TLON GmbH<BR></FONT><A=20
href=3D"mailto:kishore@tlon.de"><FONT face=3DArial=20
size=3D2>kishore@tlon.de</FONT></A><BR><FONT face=3DArial size=3D2>+49 =
(0)791 -=20
9305017</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00A4_01C2BC01.89CD5680--
Previous Topic:The question in update cdt
Next Topic:special environment settings for projects
Goto Forum:
  


Current Time: Fri Jul 19 07:32:42 GMT 2024

Powered by FUDForum. Page generated in 0.03381 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top