[oggonachip] Re: posix platform and pthread

Pattara Kiatisevi pkiatisevi at student.ei.uni-stuttgart.de
Mon Apr 29 15:49:50 UTC 2002


opps, I am using gcc:

gcc -B/usr/local/ott-rtems/posix/lib/ -specs bsp_specs -qrtems -o test-x86
test.c soundinput.c

so this is wrong? I have also installed i386-rtems-gcc (debs from OAR's
ftp) but couldn't get it compiled yet (I don't know what options for
compiler to be used).

Pattara


On Mon, 29 Apr 2002, Joel Sherrill wrote:

>
>
> Pattara Kiatisevi wrote:
> >
> > Hi,
> >
> > 1.RTEMS-4.5.0 on Linux. I did: '../configure --enable-posix
> > --prefix=/usr/local/ott-rtems --enable-tests' and then 'make && make
> > install' but I could not find libposix.a (in order to use pthread) under
> > /usr/local/ott-rtems/posix/lib/. Do I miss something here?
>
> RTEMS includes all system calls in a single library in 4.5.0.
> If you use the normal linking arguments, they are just there.
> No extra libraries.  They are in librtemsall.a.
>
> > 2.I tried to compile my code (that formerly worked on sparc-rtems) to
> > posix (x86) hoping that the debugging process will be easier. But in my
> > test program, the "open("/dev/soundinput", major,0)" statement seems to
> > want to open the real devices on the Linux filesystem instead of my device
> > driver's code for /dev/soundinput. Anybody has idea?
>
> Did you compile using i386-rtems or native gcc?  Even though you are
> on the same hardware, RTEMS still views it as an embedded system and
> you will have to "boot RTEMS"
>
> > Thank you very much,
> > Pattara
> >
> > --
> > Please avoid sending me Word or PowerPoint attachments.
> > See http://www.fsf.org/philosophy/no-word-attachments.html
> > ----------------------------------------------------------------------
> > Ott Pattara Kiatisevi                              T L W G
> > M.Sc. INFOTECH Student, Stuttgart, Germany      http://linux.thai.net/
> > ----------------------------------------------------------------------
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel at OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>    Support Available             (256) 722-9985
>
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Tied to your PC? Cut Loose and
> Stay connected with Yahoo! Mobile
> http://us.click.yahoo.com/QBCcSD/o1CEAA/yigFAA/gWFolB/TM
> ---------------------------------------------------------------------~->
>
> To unsubscribe from this group, send an email to:
> oggonachip-unsubscribe at yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>




More information about the users mailing list