ts-7000
[Top] [All Lists]

[ts-7000] Re: Unable to compile C++ Hello World with Cygwin Cross Compil

To:
Subject: [ts-7000] Re: Unable to compile C++ Hello World with Cygwin Cross Compiler
From: "naturalwatt" <>
Date: Mon, 04 Jun 2007 18:45:50 -0000
Yes, you will have to copy over libstdc++.so.5.0.6, which is 4.6MB.  But you 
are unlikely to 
need other libraries, as this implements the entire Standard Template Library, 
as far as I 
can tell.

And yes, if you have more than one C++ program, it is more efficient to use 
dynamic 
linking.  I have 5 C programs and only one C++ program as parts of my 
application, and I 
still use dynamic linking.

I faintly recall a problem with FTP on 7260 as it uses a different FTP daemon 
than the 
TS7250 does, and by default root is not permitted to use FTP.  I think I 
disabled the 
security feature, but you might also want to create a non-priviliged user 
(Userid > 100) 
and use that for ftp.

Is it ProFTPD on the 7260?

Martin
--- In  "geoffveale" <> wrote:
>
> Thanks for the comments. Changing from cout to std::cout removed the
> error building the application. However when I tried running it on my
> TS-7260 it would not run because it did not have the required c++
> libraries on the TS-7260. I noted that the required library is about
> 3MB (libstdc++.so.5)and have a bad feeling that if I use much c++ code
> I will need to move other library files over to the TS-7260. This
> concerns me because I only have about 29MB of free space on the
> TS-7260 flash drive. I tried a static compile and decided this was not
> practical because the simple hello world application ended up being
> about 3MB instead of about 10KB. 
> 

> 
> Anyone else had problems being able to ftp to a TS-7260 using ethernet?
>




 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

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

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

<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