From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Leclerc Date: Fri, 17 Sep 2010 13:44:42 -0400 Subject: [Buildroot] Problem running program compiled with the toolchain In-Reply-To: <4C93A58E.9080203@googlemail.com> References: <4C9278FE.2010504@signaturealpha.com> <4C93A58E.9080203@googlemail.com> Message-ID: <4C93A90A.8070607@signaturealpha.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Marcus, Turns out, after scratching my head to gray hair, that there were no problem in compiling for the proper target... I used Filezilla to transfer my file and for some reason it would transfer the examples program correctly but not my application, likely using ASCII and messing things up. Setting transfer to use explicit binary format and then all those hours of search came to an end. Still leaves me to wonder what use is there for ftp ASCII transfer if binary transfer should do it all Thanks anyway for your time, I was waiting to see my post to add I found the problem. Sometime it's just too ovious... or not Marc On 2010-09-17 13:29, Marcus Osdoba wrote: > Am 16.09.2010 22:07, schrieb Marc Leclerc: >> >> I have built an x86 embedded system using buildroot 2010.08. I have been >> trying a few lib& compiler version trying to find the problem without >> success then I added gdb to the target to see if I could get more info >> >> This app starts on my host and is recognized >> The demos do start as well >> > Hi Marc, > How did you install the application for your target? By a user defined > package in parallel to all others in package/*? > It sound like you have build your application on and for your host - > which might be a differtent architecture than that of your target > (i386 <> x64). Integrating your application like all other packages in > the user land directory and booting the generated rootfs, should run > your application - at least the simple example you gave ;-) > > Regards, > Marcus > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot > > >