RTEMS + g++ + #include <netinet/in.h>

Ralf Corsepius corsepiu at faw.uni-ulm.de
Thu Dec 21 03:50:11 UTC 2000


Chris Johns wrote:
> 
> Ralf Corsepius wrote:
> >
> > Try m68k-rtems-g++ -isystem /opt/rtems/rtems/bare-5200/lib/include
> > -c tst.cpp
> >
> 
> This worked.
Fine.
 
> >
> > or (preferred)
> > m68k-rtems-g++ -B/opt/rtems/rtems/bare-5200/lib/ -c tst.cpp
> >
> 
> This did not.

This is supposed to work :) 

Did you have the trailing slash at the end of the -B parameter?

> I already use the -B option and a specs file option. Does
> this cause a problem ?

I am not sure, but the order may matter.

Try adding -v to the compiler's flags. 

It should tell you all the "glory details" about how -B <path>/lib/
gets expanded. This normally includes prepending -isystem
<path>/lib/include.

Ralf
-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



More information about the users mailing list