ts-7000
[Top] [All Lists]

RE: [ts-7000] gcc 4.x cross compiler

To: <>
Subject: RE: [ts-7000] gcc 4.x cross compiler
From: "Lovik, Mark A" <>
Date: Wed, 3 May 2006 15:21:15 -0500
Thanks for the information. This has been a recurring problem 
on PC Linux and Solaris systems for us.  It sounds like not
all development tool chains have this problem.

Mark Lovik


-----Original Message-----
From:  on behalf of Don W. Carr
Sent: Tue 5/2/2006 3:16 PM
To: 
Subject: Re: [ts-7000] gcc 4.x cross compiler
 
Well, I have never seen that. If I don't link with -lpthread, in tells me in
can't find the pthread function  calls I made. Don.

On 5/2/06, Lovik, Mark A <> wrote:
>
> About the pThread problem
>
> I teach operating systems at UIS.  We just finished a section on
> pthreads in class.  One of the quirks of using the ptheads library
> using gcc is it will compile without warnings when the pthreads
> library is not included.  When this happens the executable runs
> but no threads are created or generated.  The thread portion is
> ignored.  This upsets students, because they get no feedback on
> the problem.
>
> If you link explicitly to the pthreads library
>
>      -lpthread
>
> the code will compile and now run the threading portion.
> I suspect the debugger was seeing this behavior.
>
> Mark Lovik
>
>
>
> -----Original Message-----
> From:  on behalf of Frank Pagliughi
> Sent: Tue 5/2/2006 10:33 AM
> To: 
> Subject: [ts-7000] gcc 4.x cross compiler
>
> Hey all,
>
> I just uploaded scripts to compile gcc-4.0.2 using the latest
> crosstools-0.42. I've successfully built C, C++, Java, and gdb on both
> Linux (FC4) and cygwin.
>
> I matched glibc and Linux headers to what were already on the board
> (glibc-2.3.2 & linux-2.4.26). I was also able to build this compiler
> version against the default Linux 2.6.15 kernel and with different
> versions of glibc.
>
> Just download crosstools-0.42 tarball from kegel.com/crosstool, unpack
> it, then untar the scripts I provided into the same directory. Then
> just run "arm9tdmi.sh"
>
> I built it on several host systems, but the latest FC5 wouldn't build
> Java. If I removed "java" from arm9tdmi.sh it built everything else ok.
>
> This version of gdbserver is also compatible with the latest
> Insight-0.64, which I was able to build under Linux (but not cygwin -
> yet). You can get that from sourceware.org/insight.
>
>
> I've tested the C & C++ compilers, but not Java yet. Everything seems
> to work well, but I am unable to debug pthreads. When I create a new
> thread the debugger doesn't see it, and if I set a breakpoint in the
> thread I get a SIGTRAP and the debugger stops working.
>
> If anyone knows how to get this working, please let me know. Thanks
>
> I'll try to post the prebuilt chains somewhere within the next few days.
>
> Frank Pagliughi
>
>
>
>
>
>
> SPONSORED LINKS
> Linux os <
> http://groups.yahoo.com/gads?t=ms&k=Linux+os&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=BJW5myHQ5naFTMcGbJtFkw>
>       Hardware <
> http://groups.yahoo.com/gads?t=ms&k=Hardware&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=y-BHswwhyikFrxIthtmHdw>
>       Arms <
> http://groups.yahoo.com/gads?t=ms&k=Arms&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=VFc2E4uFRtDPNiivNTse7A>
>
> Computer internet <
> http://groups.yahoo.com/gads?t=ms&k=Computer+internet&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=a5JoGFmV0BGnuTosV_TwhQ>
>       Computer security <
> http://groups.yahoo.com/gads?t=ms&k=Computer+security&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=8PsVXc1m7Y17vsjZkWVCyw>
>       Computer hardware security <
> http://groups.yahoo.com/gads?t=ms&k=Computer+hardware+security&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=mUV97a_TbfG5v5dQOBfVkA>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>       *      Visit your group "ts-7000 <
> http://groups.yahoo.com/group/ts-7000> " on the web.
>
>
> *      To unsubscribe from this group, send an email to:
>        <mailto:
> =Unsubscribe>
>
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
>
>
> ________________________________
>
>
>
>
>
>  SPONSORED LINKS
>   Linux 
> os<http://groups.yahoo.com/gads?t=ms&k=Linux+os&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=BJW5myHQ5naFTMcGbJtFkw>
> Hardware<http://groups.yahoo.com/gads?t=ms&k=Hardware&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=y-BHswwhyikFrxIthtmHdw>
> Arms<http://groups.yahoo.com/gads?t=ms&k=Arms&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=VFc2E4uFRtDPNiivNTse7A>
>    Computer
> internet<http://groups.yahoo.com/gads?t=ms&k=Computer+internet&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=a5JoGFmV0BGnuTosV_TwhQ>
>   Computer
> security<http://groups.yahoo.com/gads?t=ms&k=Computer+security&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=8PsVXc1m7Y17vsjZkWVCyw>
>   Computer
> hardware 
> security<http://groups.yahoo.com/gads?t=ms&k=Computer+hardware+security&w1=Linux+os&w2=Hardware&w3=Arms&w4=Computer+internet&w5=Computer+security&w6=Computer+hardware+security&c=6&s=116&.sig=mUV97a_TbfG5v5dQOBfVkA>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group "ts-7000 <http://groups.yahoo.com/group/ts-7000>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>     
> <=Unsubscribe>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>
>


--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU