[RTEMS Project] #1755: rtems-bin2c not friendly for files in other directories

RTEMS trac trac at rtems.org
Fri Dec 19 03:51:25 UTC 2014


#1755: rtems-bin2c not friendly for files in other directories
---------------------+----------------------------
 Reporter:  dufault  |       Owner:  joel.sherrill
     Type:  defect   |      Status:  assigned
 Priority:  normal   |   Milestone:  4.11.1
Component:  tools    |     Version:  4.11
 Severity:  normal   |  Resolution:
 Keywords:           |
---------------------+----------------------------
Changes (by gedare):

 * milestone:  4.11 => 4.11.1


Old description:

> I have my source read-only and build into other directories from the
> source directory.
> A command such as:
>
> rtems-bin2c /home/dufault/work/scratch/V10.1.0/powerpc-unknown-
> rtems/solarcat/fs /home/dufault/work/scratch/V10.1.0/powerpc-unknown-
> rtems/solarcat/fs
>
> results in something like:
> #ifndef
> __/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
> #define
> __/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
>
> With the attached patch it yields:
> #ifndef
> ___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
> #define
> ___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
>
> It also adds "generated by rtems-bin2c" in the comment.

New description:

 I have my source read-only and build into other directories from the
 source directory.
 A command such as:
 rtems-bin2c /home/dufault/work/scratch/V10.1.0/powerpc-unknown-
 rtems/solarcat/fs /home/dufault/work/scratch/V10.1.0/powerpc-unknown-
 rtems/solarcat/fs
 results in something like:
 #ifndef
 __/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
 #define
 __/home/dufault/work/scratch/V10_1_0/powerpc_unknown_rtems/solarcat/fs_h
 With the attached patch it yields:
 #ifndef
 ___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
 #define
 ___home_dufault_work_scratch_V10_1_0_powerpc_unknown_rtems_solarcat_fs_h
 It also adds "generated by rtems-bin2c" in the comment.

--

--
Ticket URL: <http://devel.rtems.org/ticket/1755#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list