Compile 32-bit programs on the cDAQ RT Linux

I have a (OR-9134) running Linux RT NI cDAQ

I am unable to get it compile 32-bit programs. The steps I've done were:

1 used "opkg" to install all the 'gcc', 'CPP', "gcc-symlinks", etc. - that I could see associated compilers.

2 export CFLAGS = "-m32' export CXXFLAGS ="m32", export LDFLAGS = 'm32'"

3 CFLAGS = "-m32". / configure

However only 64-bit binary are generated.

I'm unable to find through "opkg" all packages associated with 32-bit builds or anything related to 'multilib '. Could you get it someone please let me know how do NI Linux RT generate binary 32 bits?

Looks like you are saying that you need a 32-bit library to work with 32-bit LabVIEW. However, LabVIEW on your target cDAQ is 64-bit, as all software on our basic objectives of Linux RT Atom (the ARM-based targets are 32-bit). So, if you want your HDF5 library to run on the target of the cDAQ to 64-bit, you must use a 64-bit version of HDF5. This is true even if you connect/deployment to the target of a 32-bit version of LabVIEW.

Of course, if you want to run HDF5 on a 32-bit system, as a target of LabVIEW RT with ARM 32-bit processor, or LabVIEW RT older targets that use VxWorks or Phar Lap instead of Linux, or a 32-bit desktop machine running Windows or any other OS, you will need a 32-bit version of HDF5. But I would not recommend trying to build HDF5 for these environments of your cDAQ. I recommend compiling natively on the cDAQ, if you at all (*), for the code, you intend to run on the cDAQ.

(*) You should be aware of this already, but you can cross - compile your HDF5 library using Eclipse, i.e. http://www.ni.com/download/labview-real-time-module-2014/4846/en/ - some people prefer this to the compilation on the target, which is a little limited resources.

Tags: NI Hardware

Similar Questions

  • Too many running 16-bit programs, increase the number in config.sys?

    I got this error last week with no solution can be found. I looked in my config.sys dialog box and saw no place to increase the FILES, and I have no idea where from here.

    MD

    Can we get your Event Viewer logs?  Are you running any 16-bit (old/legacy) apps?

    Please provide us with your administrative Event Viewer logs by following these steps:

    Click on Start Menu
    Type eventvwr in the find programs and files (do not hit enter)
    Click with the right button on eventvwr.exe and click Run as administrator
    Expand custom views
    Click the administrative events
    Right-click Administrative events
    Record all events in custom view as...
    Save them to a folder where you will remember which folder and save it as Errors.evtx
    Go where you saved Errors.evtx
    Make a right click Errors.evtx-> send to compressed (zipped) folder of->
    Download the .zip for Onedrive or a file sharing service file and link to it in your next post

    *
    If you have updated to win 8.1 and you get the error message " " " the system cannot find the specified file" it is a known problem.  The work around is to change the registry.  If you are not comfortable doing this DON'T.  If you are, save the key before making
    Press Win + 'R' and enter regedit

    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/analytical.
  • the 32-bit version of the plugin does not work after filterSelectorParameters

    Hello!

    I have a working version of the 64-bit plugin tested PS CC 2015. It manages only the filterSelectorStart and the filterSelectorAbout, and it works well. To compile as a 32-bit version, that I modified the caviggia file from

    CodeWin64X86 {'PluginMain'},

    TO

    #ifdef _WIN64

    CodeWin64X86 {'PluginMain'},

    #else

    CodeWin32X86 {'PluginMain'},

    #endif

    Then I compiled 32-bit version of the plugin and have started testing in PS CC (not 20xx, just CC). Before I tried to debug plugin has caused an error in allocating memory, debugging showed me this call stack.Call stack.png

    WHY is it produces, why 64-bit plugin works well and 32 bits can not? I tried to maxSpace value 0 or a low value, but in any case filterSelectorParameters branch has been called, and then there was an exception in the depths of the PS.

    Please help me fix this strange problem. Thanks in advance!

    Thank you very much Tom for assistance!

    During the long search I found a core of the problem: it is my love for the __stdcall calling convention. It looks like PluginMain must be __cdecl, so if you like __stdcall too, set at least CC of PluginMain to __cdecl. No other problems were detected.

  • Compaq model #cq5210f, 64 bit restricted. my old 32-bit programs does not work on it. all the patches?

    I have Compaq CQ5210F PC running 64 bit Windows 7 restricted. I can't run any of my 32-bit programs. Y at - it a fix for this?

    Thanx

    Hello

    Review Windows 7 Virtual PC and XP mode.   If your programs are intensive video, you should examine the upgrades of the program and run natively under Windows 7.

  • Running game - this version of the file is not compatible with the version of Windows you are using. Check your computer's system information to see whether you need a x 86 (32 bit) or an x 64 (64-bit) version of the program

    I'm having the same problem that is described in this topic: http://social.answers.microsoft.com/Forums/en-US/vistagaming/thread/f15edea1-f88f-492e-bb42-4db2b06fdf05

    My error message is: "this version of the file is not compatible with the version of Windows you are using. Check your computer's system information to see whether you need a x 86 (32 bit) or an x 64 (64-bit) version of the program and then contact the software publisher. »

    I tried to run the program in question (Castle of the winds) in each mode of compatibility that is on the list and it is giving me this error message every time. Other people have managed to get the program to work, so I don't know, it does not work on Windows 7, but I can't make it work for me.

    Help?

    Hi autohaptic,

    (a) on the computer what Edition\Version of Windows 7 operating system do you use? What type of system? 32-bit or 64-bit

    If you are running Windows 7 64-bit operating system, you can install the 64-bit computer game program.

    (b) on the computer which the castle of the winds game version are you running?

    I want to clarify, if you try to install the program or trying to run.

    Step 1: Put the computer in a clean boot, and then try to run the game

    Follow step 1 in the link below,

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Important: n ' forget not the computer to start normal follow step 7 in the link.

    You can consider the right version of the game for your computer relocation program.

    Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I'm unable to open Add/Remove programs in the Control Panel, all other bits in the control panel can be opened.

    Add/Remove programs. I'm unable to open Add/Remove programs in the Control Panel, all other bits in the control panel can be opened. Any ideas? Thank you.

    original title: Add/Remove programs.

    Hi, Tay 13,

    Open command prompt window

    type the following command

    SFC/scannow

    Press enter

    Note: There is a space between SFC and / scannow

    Once the scan is complete, look for the journal by clicking Start > run

    Type

    %windir%\Logs\CBS

    Search for repaired files or cannot repair file and note the name of any file not repaired.

    New attempt to open Control Panel Add/Remove section.

    Open the command prompt window

    Type the following command

    appwiz.cpl

    Press enter

    This will open Add/Remove programs

  • It is possible to run Adobe Bridge CS6 on my Toshiba 32 bit?, I don't know why, but when I try to run this program, then the DEP blocks Adobe Bridge, what's the problem?

    Adobe Bridge CS6 on my Toshiba 32 bit?, I don't know why, but when I try to run this program, then the DEP blocks Adobe Bridge, what's the problem?

    This means that the program will use the incorrect memory or he is attacked by hackers or virus. See if there is an updated version.

    To allow the program to function in any case type DEP in the Start menu - Help and Support.

    Help

    Change Data Execution Prevention settings

    Data Execution Prevention (DEP) is a security feature that protects against viruses and other security threats by analyzing your programs to make sure that they use the system safely memory.

    If you choose to protect all programs, you can always turn off DEP for individual programs. If you think that a program does not run correctly when DEP is enabled, check for a compatible version of the DEP program or an update from the software publisher before you change your DEP settings.

    1. Click to open the system.

    2. Click Advanced system settings.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Under performance, click settings.

    4. Click the Data Execution Prevention tab, and then click turn on DEP for all programs and services except those I select.

      To turn off DEP for an individual program

      • Select the check box next to the program that you want to turn off DEP for and then click OK.

        If the program is not in the list, click Add. Navigate to the Program files, search for the executable file of the program (it will have the .exe extension) and then click Open.

      To turn on DEP for an individual program

      • Clear the check box next to the program that you want to turn on DEP for and then click OK.

  • How will I know whether to install any program in the 64-bit or 32-bit section in Vista?

    original title: where to install?

    How can I know weather to install any program in the 64-bit or 32-bit section?

    Hello DaphneanEpiphany,

    The application that you are installing will sort it out for you. Unless the software is told explicitly 64-bit in the box, you can be assured that the software will be 32-bit.

    If you are running a copy of Windows Vista (or 7) 64-bit operating system will install the software in the right folder so I don't worry about this.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • "This version of this file is not compatible with the version of Windows you are using. Check your computer's system information to see if you need a x 86 (32 bit) or x 64 (64-bit) version of the program.

    Hello

    I seem to be having problems when you try to install a program on my Windows 7 that allows to launch on my Windows XP and Windows Vista. I used the tool to solve compatibility problems and selected these settings in the CONFIGURATION file, but nothing seems to work the error message I get is as follows:

    "This version of this file is not compatible with the version of Windows you are using. Check your computer's system information to see if you need a x 86 (32 bit) or x 64 (64-bit) version of the program, and then contact the software publisher. »

    Is it possible to set my computer to allow this program to run successfully? Any solution would be greatly useful.

    Hello Rdforbe,

    The problem is a software that was created for Windows 95, 98, and Windows XP has no way to work correctly with an operating system that didn't even exist when the software was written. However, the error message you get normally means that you have a 32-bit software that you are trying to install on a 64-bit system.

    To find out if your computer is running 32-bit Windows or 64-bit, follow these steps:
    System opened by clicking on the button start , by clicking on the Control Panel, click System.
    Under system, you can view the system type. This will describe if you have 32-bit or 64-bit.

    You can also try compatibility mode.

    If the program is not compatible, then you try to install and run the program in compatibility mode.

    Use the following steps:

    (1) right click on the program

    2) click Properties

    3) click on the Compatibility tab

    (4) select run this program in compatibility mode and select Windows Vista or other operating system, the program has been run successfully.

    Check out the link here: make sure to run older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    If you are running Windows 7 Professional or Ultimate version, install Windows Virtual PC and Windows XP mode (http://www.microsoft.com/windows/virtual-pc/default.aspx) and run your software in Windows XP.

    If you run Windows 7 Home Premium, try VirtualBox (www.virtualbox.org) or VMware Player (www.vmware.com), or any other software virtualization part 3rd and install a separate copy of Windows XP (family or professional edition) for this purpose. You can find the virtualization software free that will run on Windows 7 Home Premium.

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Internet Explorer (64-bit), absent from the "All programs" list

    How can I restore Internet Explorer (64-bit) to the list of "all programs"? I dragged Internet Explorer (64-bit) of the "All programs" list on the desktop. Then, by accident, I deleted this shortcut that went in the trash that I actually empty after.

    When I clicked on the start menu and the list of 'All programs' again the link to Internet Explorer (64-bit) was missing to my dismay. Is - this from there anyway I can get Internet Explorer (64-bit) to show again on the list "all programs"?

    Windows 7 Home Premium

    Hi Sylvia,.

    I would ask you to check this link to install Internet Explorer, try the steps based on the operating system installed on the computer.

    http://Windows.Microsoft.com/en-us/Internet-Explorer/install-IE#ie=ie-11

    Let us know if you have any questions with windows and we will be happy to help.

  • Run the 32-bit program on 64 bit OS

    Is it possible to run a program in Windows XP 32-bit on a 64-bit computer laptop with Win 7 Pro. The laptop currently available virtual PC / XP mode.

    The vast majority of software is 32 bit and should work on 64-bit Windows, but it really comes down

    on the software in question and things like if they developed a patch or a newer version

    for Win7 64 bit, when necessary, or if the program uses a special driver that was specific XP.

    And some systems of protection against copying of the time XP do not recognize 64-bit Windows, so this can sometimes cause problems.

    Release date near the date of the release of Vista should have the sides however very good compatibility.

    I have not used XP MODE, and even though I know that it doesn't work with games (no d3d), I can only

    guess it is also 64-bit (when using Win7 64 bit), so if 32 vs 64-bit is a problem with a particular program

    then XP MODE would not help.

    BTW - most programs that have an executable option 64-bit also have a 32-bit option and very little

    run only on 64-bit.

    If there is a forum for the program on the website of the developers, it would be the best place to find

    It is compatible with Windows 64-bit and if there is resolve work around the problems.

    .

  • What is the difference of windows 7 32-bit to 64-bit programs?

    What is the difference of windows 7 32-bit to 64-bit programs.

    Original title: * bits *.

    64 bit 32 vs

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    My PC running the 32-bit version or 64-bit Windows?

    http://Windows.Microsoft.com/en-us/Windows7/find-out-32-or-64-bit

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    Windows 7 64 bit comes in handy when you need to deal with at least 4 GB of RAM or more. Windows 7 32 bit can use up to 3.2 GB of RAM. Because the address space of memory is much larger for 64-bit Windows, this means that you need two times more memory than the 32-bit Windows to accomplish some of the same task, but you are able to do much more, you can have more apps open, do things like run a virus scan in the background it will affect the performance of your system. 64-bit Windows 7 is safer too, malicious code cannot easily infiltrate it, drivers are more reliable because they must be signed before it can work with 64 bit Windows 7.

    Regarding compatibility, you need device drivers 64-bit hardware devices, you may have. In addition, there is no 16-bit subsystem in Windows 7 64-bit, which means, your applications must be 32-bit only, not 16-bit Installer or programs uninstaller. Also, if you decide to switch to Windows 7 64 bit in the future, there is no way to upgrade from 32-bit Windows, clean install only.

    Can I run 32-bit programs on a 64-bit computer?

    Most programs designed for a computer running a 32-bit version of Windows running on a computer running 64-bit Windows versions. The notable exceptions are many antivirus programs, and some hardware drivers.

    Drivers designed for 32-bit versions of Windows do not work on computers running a 64-bit version of Windows. If you try to install a printer or other device that only has 32-bit drivers available, it won't work correctly on a 64-bit version of Windows. For information on updating drivers and troubleshooting issues with device drivers for 64 bit versions of Windows, contact the manufacturer of the device or program.

    I would be using a 64-bit computer?

    The benefits are more obvious when you have a large amount of RAM (RAM) installed on your computer, typically 4 GB of RAM or more. In this case, because a 64-bit operating system can handle large amounts of memory more efficiently as a 32-bit, 64-bit operating system can be more responsive when you run several programs at once and switching between them frequently.

    If I am running a 64-bit version of Windows, I need 64-bit drivers for my devices?

    Yes. All devices devices need 64-bit drivers to work on a 64-bit version of Windows. Drivers designed for 32-bit versions of Windows do not work on computers running 64-bit Windows versions.

    To learn how to check for drivers, see update a hardware driver that is not working properly or go to the website of the manufacturer of the device. You can also get information about drivers by going to the Windows 7 Upgrade Advisor website.

  • Windows 7 64-bit: when a program is open I'm unable to open a second program (from the taskbar) - he is by default the task bar when the mouse is moved.

    I use Windows 7 64 bit and when a program is open on the desktop (for example-, the filmmaker) and I try to open another program to the taskbar (for example i-tunes) the last program uses by default the taskbar as soon as my mouse button leaves the newly opened window: how I can move between two windows open without what is happening?

    Old Timer

    Hello

    I suggest you go through the following link.

    Blink of an eye.

    http://Windows.Microsoft.com/en-HK/Windows7/products/features/snap?SignedIn=1

  • Confusion: two 32-bit installation on the download page programs

    Hello:

    I need to know how to proceed * IF * I inadvertently installed 32-bit v50 ' XP/Vista' version on my Win7 and Win10 systems. Reference: http://forums.mozillazine.org/viewtopic.php?f=38&t=3025405

    Back story:

    Today ' today - on my third, backup, Win7 Office - I noticed two different options of 32 bits here: https://www.mozilla.org/en-US/firefox/all/ the column headings are very blurred (see screenshot). But I finally found the two 32-bit installers is the correct version for 7/8/8.1/10 to install on * this * rig.

    ~ 2 days ago, however, when I updated my other two systems (Win7 and Win10), I do not notice that new, third option, or maybe, it wasn't there. Can I have inadvertently installed version ' XP/Vista' on a Win7 box and an area of Win10.

    I'll come back on those computers later and will try to check.

    Until I do, here are my questions:

    (1) how can I know if installed the correct 32-bit version of Fx 50 on my other 2 boxes yesterday - the version for Win7 and more?

    (2) if installed the one bad (the XP/Vista version), I have to:-my backup profile and install the correct version on top of the existing v50 build? -my backup profile, Fx to uninstall and reinstall the correct version? -do nothing, if it is not working properly? -do something else?

    Thank you!

    daledoc1

    Same version of Firefox is delivered by two hyperlinks if you use Win7 or greater (or Vista with compatibility SHA2 Microsoft Update).

    The link of the left hand for XP/Vista bypasses the XP/Vista limited to SHA1 support.

    If you are using XP/Vista and select the link to the right, you would get Firefox 43.0.1 instead of the current version, and then you need to update Firefox manually. or wait until the automatic updater has done the update for you the latest version.

  • Installation of 32-bit program on 64 bit computer desk

    I can't install the program in the regular Program Files folder. Instead, each time he moved, he does in program files (x 84) a... When I run the program from there, it crashes and the thing circle turn and that's all... Why can not install it in the regular Program Files folder?
    I am trying to install Photoshop CS3 Extended...

    The "Program (x 86)" folder is the folder that windows uses for 32-bit programs. If you encounter any problems with this program, contact Adobe to get help or wait for someone who has expertise on a vista 64 - bit OS of the replies to this post running this program.

Maybe you are looking for