07-16-2008 08:05 PM
09-27-2008 09:38 AM
10-06-2008 11:22 AM
Hi Lianzi,
The format of the output file is probably determined by the linker, so you should take a look at the Script Linker VI and modify the commands it sends to the linker.
10-25-2008 02:41 AM
Hello,Professor,Thank you for your help again.
Now i can build the project without any error,but the file build form the project can't run in the arm7 with uclinux when i dowmload it.I don't know why.
My complier flags is as follows:
-I./ -DCHeadless=0 -elf2flt -Dlinux -fno-strict-aliasing -fno-common -fomit-frame-pointer
My linker flags is as follows:
-mcpu=arm7tdmi -mstructure-size-boundary=8 -mlong-calls -Wl,--gc-sections -Wl,-static -nostdlib -Wl,-static -L"%s" -Ttarget.ld
And i know there is a new embedded tool for arm ,which is called LabVIEW Embedded Module for ARM Microcontrollers,I find what i need to do is in the tool,but i alread bought the embedded development module? how can i do for it?
10-27-2008 01:18 PM - edited 10-27-2008 01:19 PM
Hi,
The LabVIEW Embedded Module for ARM Microcontrollers uses a differentOS than uCLinux, and it supports a specific set of ARM MCUs <http://zone.ni.com/devzone/cda/tut/p/id/7066>.This might be a good option for you, but it will require following the tutorial here: http://zone.ni.com/devzone/cda/tut/p/id/7152.
Regarding the uCLinux issue, I recommend that you manually walk through the process of compiling, linking, downloading, and running a hand-written C application ("hello world" ) and verify that it runs correctly. Then, compare that process with the process automated through the plug-in VIs in LabVIEW.
07-12-2010 08:21 AM
Hi Kudos
I am currently trying to do as you and make a linux application using gcc-linux on cygwin on a windows platform. One thing is stopping me and that is the same linker errors as you get. Could you help and tell me how you resolved them?
I based my linux target on the unix console target and installed a gcc-linux toolchain on cygwin. My application is very simple and just writes "Hello World" to standard out. The app can compile using the gcc (win32 app), but the linker errors comes when using the gcc-linux compiler.
Thank you!