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

Chris Johns cjohns at cybertec.com.au
Thu Dec 21 04:08:45 UTC 2000


Ralf Corsepius wrote:
> 
> > >
> > > 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 tried both as I did wonder about this one.

> > 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.
> 

Ok, but it will have to wait until after Xmas/New Year. Yippy :-)

-- 
 Chris Johns, mailto:cjohns at cybertec.com.au mailto:ccj at acm.org



More information about the users mailing list