Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » List of RTSC defined make macros
List of RTSC defined make macros [message #3515] Wed, 27 May 2009 18:26 Go to next message
Ramsey Harris is currently offline Ramsey HarrisFriend
Messages: 22
Registered: July 2009
Junior Member
Champs,

I would like to use the RTSC defined make macros in my custom makefiles to ensure portability. For example, I'm using $(RMDIR) to remove a folder and all its contents. Where can I look to see all the macros defined by RTSC?

In particular, I'm looking for a macro to copy a folder and all its contents. I'm currently using $(CP) -r but this assumes the copy command supports the -r option.

Does RTSC provide a shell to be used by the make commands? I thought that RTSC provided the 'A Shell' (ash) in its bin directory, but I cannot find it now.

Thanks
~ Ramsey
Re: List of RTSC defined make macros [message #3549 is a reply to message #3515] Wed, 27 May 2009 19:48 Go to previous message
Dave Russo is currently offline Dave RussoFriend
Messages: 172
Registered: July 2009
Senior Member
Ramsey Harris wrote:
> Champs,
>
> I would like to use the RTSC defined make macros in my custom makefiles
> to ensure portability. For example, I'm using $(RMDIR) to remove a
> folder and all its contents. Where can I look to see all the macros
> defined by RTSC?
>
> In particular, I'm looking for a macro to copy a folder and all its
> contents. I'm currently using $(CP) -r but this assumes the copy command
> supports the -r option.
>
The list of commands is defined in xdc/bld/xdc.mak file.

> Does RTSC provide a shell to be used by the make commands? I thought
> that RTSC provided the 'A Shell' (ash) in its bin directory, but I
> cannot find it now.
Only the Windows distribution contains a shell for GNU make (because
there is not a standard "unixy" shell for windows). The name of the
shell is sh.exe in $XDCROOT/bin and it is, in fact, ash (from cygwin).

>
> Thanks
> ~ Ramsey
Previous Topic:Using target properties in a makefile rule
Next Topic:XDC on Mac OS X
Goto Forum:
  


Current Time: Fri Apr 19 08:23:46 GMT 2024

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

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

Back to the top