Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#300 closed defect (fixed)

gcc creates empty /usr/<arch>/(include)/ directory

Reported by: gerard@… Owned by: gerard@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

Change History (7)

comment:1 by gerard@…, 22 years ago

Just to make sure: make it so that gcc won't create that directory anymore

comment:2 by gerard@…, 22 years ago

Owner: changed from lfs-book@… to gerard@…
Status: newassigned

comment:3 by gerard@…, 22 years ago

It is caused by the gcc_tooldir variable in gcc-build/gcc/Makefile However, overriding it like "make gcc_tooldir=/usr install" doesn't work, and any other clean way of doing it using a sed somewhere is making it more complicated than necessarry. /usr/<arch> doesn't seem to be used at all anywhere else (I saw a reference to cross-compiler that uses gcc_tooldir) so I'd say we just add "rm -r /usr/<arch>". I'm sending an RFC to lfs-dev to get more opinions.

comment:4 by gerard@…, 22 years ago

rm -R $LFS/usr/*-linux-gnu will probably do it

comment:5 by gerard@…, 22 years ago

safety first:

rmdir $LFS/usr/*-gnu/include && rmdir $LFS/usr/*-gnu

comment:6 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by markh@…, 22 years ago

"works for me (TM)" :-)

Note: See TracTickets for help on using tickets.