Peering over the [cutting] edge

didbaba didbaba at
Thu Mar 22 06:16:27 PST 2001

Le Wed, Mar 21, 2001 at 01:31:12PM +0100 , Neven Has écrivait : 
> On Wed, Mar 21, 2001 at 08:35:53AM +0100, Thomas 'Balu' Walter wrote:
> > +-Ainsley Pereira-(marble at[19.03.01 09:11]:
> > > I tried packages without patches first, in case things had been fixed.
> > > Glibc-2.2.2 caused some problem in rpcgen because gcc -print-file-name=cpp
> > > returns only 'cpp' and it's expecting a full path. I can post a patch for
> > > glibc to work around this (when I have net* compiled...), but it would be
> > > nicer to work out why gcc isn't printing the full path.
> > 
> > I just had the same problem with glibc (beside that other
> > --without-cvs-thingie) and I might be able to fix glibc to avoid it,
> > but...
> > 
> > Isn't it the gcc that makes the problem here?
> Check your "/usr/lib/cpp" and "/lib/cpp" links.
> Maybe they are broken because of "cpp0" renaming ?

There is no more cpp in /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
only a cpp0.

I think that if we need this link you have to do 
ln -s /usr/bin/cpp /usr/lib/cpp
ln -s /usr/bin/cpp /lib/cpp

I'm trying to compile glibc 2.2.2 with gcc 2.95.3
As you say I succeed with (--without-cvs) and changing glibc-2.2.2/sunrpc/Makefile.
My question is : what is the sed command to change 

`$(CC) -print-file-name=cpp | \
          sed 's|/cpp$$||'`



Because I don't want to use patch.

I try :
sed s/"\` \$(CC) \-print\-file\-name\=cpp \| \sed \'s\|\/cpp\$\$\|\|\'\`"/"\/usr\/bin"/ ../glibc-2.2.2/sunrpc/Makefile > makefile

But :( my sed knowledge is very bad. (like my english)

Did someone have find a patch for gcc-2.95.3 for this problem.

powered by LinuxFromScratch 2.4

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list