Compilation of C program in 64 bit mode using  gcc

How do i compile a C program in 64 bit mode using gcc 2.95.2. I am using Sun Os 5.8.
Pls give the command

When i use the follwing script
cc -w -v -DSOLARIS -DSOLARIS2 -m64 -c $1.c -I./. -I/usr/lib/sparcv9 -I/usr/include -I/usr/include/sys -I/usr1/soft/smshdr -I/oracle9i/precomp/public -I/oracle9i/sqllib/public
I got the following error .. Pls help
Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cpp -lang-c -v -I./. -I/usr/li
b/sparcv9 -I/usr/include -I/usr/include/sys -I/usr1/soft/smshdr -I/oracle9i/prec
omp/public -I/oracle9i/sqllib/public -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dsparc -D
sun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__S
VR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -w -D__arch64__ -Ac
pu(sparc64) -Amachine(sparc64) -DSOLARIS -DSOLARIS2 XCupCRC.c /var/tmp/cckMTbiU.
i
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/sparcv9
/usr/include
/usr/include/sys
/usr1/soft/smshdr
/oracle9i/precomp/public
/opt/sfw/include
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/../../../../sparc-sun-solaris2
.8/include
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/../../../../include/g++-3
End of omitted list.
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/cc1 /var/tmp/cckMTbiU.i -quiet
-dumpbase XCupCRC.c -m64 -w -version -o /var/tmp/ccqeBknF.s
cc1: -m64 is not supported by this configuration
cc1: -mptr32 not allowed on -m64
GNU C version 2.95.2 19991024 (release) (sparc-sun-solaris2.8) compiled by GNU C
version 2.95.2 19991024 (release).
XCupCRC.c: In function `XCupCRC':
XCupCRC.c:45: internal error--unrecognizable insn:
(insn 208 206 210 (set (reg:DI 10 %o2)
(symbol_ref:DI ("*.LLC0"))) -1 (nil)
(nil))

Similar Messages

  • I just updated to 10.7.5.  I now cannot open Mainstage 2.2.2 in 64-bit mode.  It keeps telling me it quit unexpectedly.  It opens only in 32-bit mode

    After finally getting Mainstage to work with 10.7.4 for any extended period of time, I updated to 10.7.5.  Immediately after restarting, I tried to open mainstage and (after trying several more times and restarting again and again), I keep getting a message that it quit.  I tried to open the program in 32-bit mode and it does open.  However, in 64-bit mode, it continues to quit

    I have partially figured out the cause.  when I have both the apogee Gio plugged in and the Axiom keyboard plugged in (via USB), it quits.  However, if I only have one of them plugged, Mainstage starts up.  Anyone know a fix?

  • Possible to tell compiler to use 64bit pointer when using 32 bit mode?

    Hey everyone,
    Is there a way to tell the compiler that a pointer will be 64 bits when compiling in 32 bit mode, like with a pragma of somesort? On Alpha, OpenVMS, there is a way to do it, just wondering if this existed on forte/unix.

    There are no 64-bit pointers in 32-bit Solaris, and the process address space is limited to 32 bits.
    The supported hardware (SPARC, x86, Opteron) does not provide 64-bit pointers in 32-bit mode. (That is, you cannot dereference a 64-bit value in 32-bit mode.)
    Sun compilers therefore do not provide a way to create a 64-bit pointer in 32-bit mode.

  • Why does the iTunes 64 installer install into the Program Files (x86) directory and run in 32 bit mode?

    I have just installed this and even tried to manually get it to install in the "Program Files" directory.  Programs installed into the "Program Files (x86)" directories are 32 bit apps.  This is where the iTunes64Setup file installs to.  Is this intended?  If so, why call it iTunes 64 bit ?  It is compatible in this mode, but iTunes actually running in 64 bit mode could drastically improve performance and processing of large libraries.
    Please advise if this is a known issue or if iTunes 64 bit even exists.

    The 64-bit version of iTunes is a mixture of 64-bit and 32-bit componentry. You'll also notice on your PC that some of the componentry for iTunes itself is installing in the iTunes folder in the Program files directory (such as the miniplayer). The GEAR drivers used for burning and importing are 64-bit. The iPod service is 64-bit. AMDS is 64-bit. Bonjour is partially 64-bit.
    It's normal to see the itunes.exe process running as 32-bit on a 64-bit system.

  • Running in 64 bit mode with the 32 bit Oracle client installed

    I have seen many postings on this issue but none of the suggested solutions have helped me.
    I am running visual studio 2010 professional with SP1 on windows 7 64 bit machine. When I try to run a web service locally and call it with SoapUI, I get the following error message during OracleConnection.Open().
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    I have tried setting up the build configuration and the project settings to target 32 bit but that has not helped. I have also tried removing the reference to System.Data.OracleClient that shows being under Program Files (x86) and add a new reference to the dll under GAC_64. That too did not work.
    I only have the 64 bit client installed on my machine.
    Any help will be appreciated.
    Thank you

    1. Visual Studio any version is 32 bit ONLY irrespective of hardware or OS bits.  So to DEVELOP with Oracle Client you MUST install 32 bit Oracle ODAC components. Task manager will show devenv.exe *32 (to confirm 32 bit Visual Studio application).
    2. You can run your web application inside IIS/IIS Express in your PC which independently can be either 32bit or 64bit.  If it is 64 bit, you MUST also install 64 bit Oracle ODAC components which means you'll have to install both 32bit and 64bit in your 64 bit Win7 running on 64bit hardware.
    3. In Visual Studio if you compile with "AnyCPU" as target, the resultant binaries (Web/NonWeb) can be both 32bit or 64bit.  So if target PC is "AnyCPU" or "x64", you MUST install Oracle ODAC 64 bit in the target OS if that target OS is 64bit.  You don't have to install 32bit ODAC in the target PC.
    4. One more catch to above scenario is the target OS could be 64bit simulated OS on a 32bit hardware. In such case you MUST install both 32bit and 64bit ODAC components.
    So while you ask your network team to download ODP.NET/ODAC Components make sure you ask them to download both 32bit and 64bit. Total nearly 600MB.
    Hope this helps many people out there.

  • Libfast.a unavailable in SPARC 64-bit mode?

    With Studio 11 on SPARC (Sun C 5.8 Patch 121015-02 2006/03/29) when compiling a "Hello, world" program like this:
    $ cc -xarch=generic64 -lfast hello.c
    I get:
    ld: fatal: library -lfast: not found
    ld: fatal: File processing errors. No output written to a.out
    There is no libfast.a in prod/lib/v9, only in prod/lib.
    I can't see any reason -lfast can't be used in 64-bit mode. I searched and can't come up with anything The documentation at http://docs.sun.com/source/819-3688/perf.app.html.
    Am I missing this restriction somewhere in the documentation?

    libfast, a very old library, was designed in a way that did not scale to 64-bit architectures. A v9 version might have to be called "libslow". :-)
    In principle, the library could be redesigned to work with 64-bit architectures, but there has been little or no customer demand for it. In addition, libfast is not MT-safe, and a new version should be designed to be MT-safe. Then we have to ask, with multiple versions of malloc already available on Solaris, why do we need yet another version?
    We continue to ship the 32-bit SPARC version to accomodate makefiles and build scripts that used libfast. On other platforms, simply omit -lfast from link commands, or use one of the alternative versions of malloc that come with Solaris.
    Run "man malloc" to find pointers to other allocator libraries.

  • Can't visit jsp pages in 64 bit mode without first visiting them in 32 bit

    we have an application that we deployed into a standalone oc4j running on solaris 10 x86 sun workstation.
    Oc4j is run in 64 bit mode. After Oc4j is started, any jsp page we try to visit, the page fails to be shown and the
    below error is shown in the log:
    INFO: Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: Errors compiling:/opt/oc4j/j2ee/home/application-deployment_
    s/App/App/persistence/_pages//_info_jspx.java
    Oct 17, 2009 1:46:41 PM oracle.jsp.logger.JspMessages infoCannotDispatchJspPage_
    INFO: Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: Errors compiling:/opt/oc4j/j2ee/home/application-deployment_
    s/App/App/persistence/_pages//_info_jspx.java
    As a workaround to this issue, we had to visit every page in the application while oc4j is running in 32 bit mode and then restart OC4j in 64 bit
    mode. After this, we are able to successfully visit every jsp page. This is very painful as everytime we redeploy the application, we have to
    revisit all pages in 32 bit mode before we can revisit them in 64 bit mode.
    How can we avoid this painfull excercise of having to visit all pages in 32 bit mode in order to successfully visit them in 64 bit mode ?
    we are using:
    JDeveloper 10.1.3.2.9.4066 with JDK 1.5.0_06.

    Could be corrupted preferences.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the  com.apple.logic.pro.plist  file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro.
    Be sure and use the ~ character in the path name.

  • What is going on ?!?!? I can't start logic pro in 64-bit mode

    I have been struggling with this issue for a while now, but I haven't made any progress. I am unable to start Logic Pro 9 in 64-bit mode. And when I say that, I mean that if I select the Logic Pro app in Finder, and say "Get Info," there is no "Start in 32-bit mode" option like all of the tutorials say to do. It used to show up, and I was able to start in 64-bit mode just fine, but suddenly, the option is not there, and the app is starting in 32-bit mode.
    My Mac/OSX have been running so well, that I'm not too knowledgeable about where to even start looking for a solution. I am very comfortable with the Terminal, etc, so I can follow directions well, but I don't know where this problem stems from.
    The machine is running in 64-bit mode, ie, if I do uname -a, it does return that the system is running in 64-bit mode. Logic runs just fine outside of not starting in 64-bit mode, but I want/need to be taking advantage of all of the RAM I spent so much money on.
    I'm not sure what info would be needed, but here goes:
    Mac Pro 3,1 (early 2008), 8-core 2.8Ghz.
    10GB RAM
    4 SATA HDDs
    NVidia Geforce 8800 GT 512MB RAM
    OS X Mavericks with all current updates
    Logic Pro 9.1.x, again,  with all updates available.
    Steinberg UR22 audio interface (USB)
    Also, I'm not sure if it matters, but I also have Windows 7 installed through Bootcamp, and it is running fine, and recognizes 32-bit/64-bit apps just fine.
    I hope that's enough for someone to be able to tell me where to start looking. I really don't get it. This was happening when I first installed Mavericks. I ended up doing a fresh install from USB stick, and everything was going fine. I don't think that an update has changed things, as the last time I opened Logic, it did open in 64-bit mode. Suddenly though, that option is unavailable.
    Is there a plist entry I can edit that will force it into 64-bit mode?
    What part of the OS is in charge of this type of thing?
    Any help is greatly appreciated.

    Could be corrupted preferences.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences in the "Go to the folder" field.
    Press the Go button.
    Remove the  com.apple.logic.pro.plist  file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro.
    Be sure and use the ~ character in the path name.

  • How can I get my installed plugins to show up in Logic after ive installed the plugin discs? ive tried changing the bit mode. it STILL doesn't work.???

    I tried installing a program but when i open logic and scan the audio units, it doesnt come up. Even if i change the bit mode, it still doesnt show up. I even tried restarting my machine..Can anyone help me or give me some ideas.
    i just wanna get this plugin to work.

    Have you confirmed that the plug-in installed to one of the locations where Logic might find it? Most plug-ins go to /Library/Audio/Plug-ins/Components. Some (rarely) install to ~/Library/Audio/Plug-ins/Components (where "~" is your user folder). Look in both locations and see if the plug-in is actually there.
    When installing plug-ins, if you are offered options as to what format to install, be sure to include Audio Units. Logic will not see other formats like VST, RTAS, AAX, TDM, etc. If you use other software that recognizes those formats, it's fine to install them too, just be sure you don't deselect Audio Units.
    Finally, if you're sure the plug-in is installed to the right place, open the Audio Units Manager in Logic and check to see if the plug-in passed validation. Go to the main menu and choose Logic Pro > Preferences > Audio Units Manager. Check to see if your plug-in is listed there. If there's not a check mark next to it in the "Logic" column, that means it failed validation. If so, the "Compatibilty" column will tell you why. Keep in mind that if the AU is 32-bit, you have to launch Logic in 32-bit mode to see it here. Likewise, 64-bit plug-ins show up in the manager in 64-bit mode.

  • Is there a way to open photoshop cs6 in 32-bit mode on a windows 7 64-bit system.

    I was wondering if there is a way to open photoshop cs6 in 32-bit mode on a windows 7 64-bit system, because photoshop won't recognize the pen pressure on my graphics tablet (yiynova msp19u) I read that some users got it to work in 32-bit mode on macs, and all my other programs like zBrush, art rage, sketch book pro recognize the pen pressure on the tablet.

    well I am going to assume that the application marked photoshop is the 32-bit application, since the other on is marked 64-bit and I don't see one 32-bit. in any case it still not recognizing pen pressure and i have the newest drivers. The only thing I can think of now is that wacom drivers are interfering with it some how since they don't get along, although I was pretty sure i got rid of all wacom software.
    Sigh, it's starting to look like I have to format my computer

  • Do not upgrade to an IvyBridge processor if you need to boot into 32-bit mode with Lion

    I recently upgraded to a MBP running the Ivybridge processor and tried to boot into 32-bit mode.  Although it did boot after a short period (3-5 mins) it totally crashed a locked up.  This was precursored by a graphics error and then the mouse cursor could be moved but nothing else could be done and it was only solved by a hard shut down (holding down the power button).  Previously I had been running a MBP with the Sandybridge architecture and this booted fine into 32-bit mode and worked without a problem.
    I spent a lot of time on the phone with Apple care who said they'd not had any reports of this issue and we went right though my system until they said there was nothing else they could do and I should try a re-install of Lion.  I did this onto another hard-drive, booted into it and managed to get the machine to crash again... leading me to understand that it's nothing to do with my setup.
    Thinking it might be an issue with my firmware on the mac today I visited an Apple store and tried booting 5 MacBook Pro's and a MacBook Air - all running IvyBridge - into 32-bit mode and managed to cause the same crash on all of them.  If the machine is just booted an left with finder it didn't seem to want to crash but when I opened programs, mainly mac mail, it didn't take too much longer for the crash to occur.
    If there are any Apple engineer reading this could you try and reproduce the issue and look at fixing this please as a lot of people still use 32-bit and if I'd known that the IvyBridge processors weren't going to work in 32-bit mode I would have stayed with the Sandybridge MBPs.
    Many Thanks,
    Adam Peters,

    That is a pain then.  Pretty much all of the OS included applications (finder, Mail, iTunes, Safari,...) are all fully 64-bit programs now (since Lion) so I can see where launching them when booted into 32-bit mode could cause stability issues.
    If you boot into 32-bit mode and just run the Tascam software without launching anything else, will it work?
    Was it alright in 10.6? And if so, how about keeping 10.6 in a virtual machine or on a separate disc or partition?

  • HT3989 how do you activate 64 bit mode in logic pro 9 if you purchased it directly from the apps store?

    hey team
    the instructions for the regular activation of 64 bit mode don't seem to work as there is no logic folder in the applicetions, only the icon to launch the program.
    thanks

    Hi
    Select the Logic Pro application within the Applications folder, and use Command I (or File:Get Info).
    Un-chcek the 'Open in 32 bit mode' button
    CCT

  • We sorrted the problem with "32 bit plugin requred" , but another one acuired - it wants to updte the silver light every time i try to write email, we do not have silver light. What to do? Thanks program . This is with using hotmail

    When i thick "open in 32 bit mode" in "get info" from Firefox application, then every time i try to send email from Hotmail it tells me to update "silverlight" - we do not have such application or program or what every this is. I did not need to do that if i do not tick the box "open in 32 bit mode". What to do. I do not want the reminder i need to run this page on 32 bit and i do not want this "update your silverlight'' every time i try to send email.
    Thanks

    See https://support.mozilla.com/en-US/questions/822075#answer-204885

  • I received an error "iTunes requires 64-bit mode" says to go into my iTunes application and 'uncheck' the 'open in 32-bit mode' checkbox - i went into the application and the box was not checked anyway so why am i getting this prompt?  Never happened b4

    i received an error message "iTunes requires 64-bit mode" says to go into my iTunes application and 'uncheck' the 'open in 32-bit mode' checkbox - i went into the application and the box was not checked anyway so why am i getting this prompt?  Never happened before. yesterday did the sofware update for maverick.

    Thank you for your response, Chris. But I'm afraid I have to disagree. There are native 64 bit versions of iTunes available for OSX and Windows.
    In a 64 Bit Windows environment native 64 Bit Applications install the DLL's in a directory called "Program Files" and a directory called "Program Files (x86)" (32 Bit applications only use the ladder).
    iTunes 9 is consistent with this behavior - and it identified itself to the system as a 64 bit application (meaning it's process appears without a "*32" tag on it).

  • Cannot Debug SSIS packages in 64 bit mode.

    Hi,
    To anyone who may be able to help.  We are using SQL server 2014 Enterprise addition.  Visual studio 2013, SSDT latest version installed, all 64 bit tools installed.  I have tried to run my packages  with the "Run64bitRuntime"
    set to true ( project properties-->Debugging-->Run64BitRuntime = True).  Initially I thought it an issues with my package (we migrated them from SSIS 2008R2, they run fine with no issues within the 32 bit memory constraints) so I created
    a super simple package with VS 2013 in the SSIS 2014 environment from scratch, a lookup and an OLEDB Data source that's it.  Same problem.  No matter what I do when I debug in SSIS the 32 bit process (DtsDebugHost.exe (32 bit)) fires up,
    even though I have selected debug in 64 bit runtime I cannot get the 64 bit version of DtsDebugHost to run.  This is an issue because I am debugging projects that will utilise more than 4GB of memory for say a particular set of lookups.  Curiously
    when I schedule the projects to run in the  scheduler, it fires up a  64 bit process, and the package executes successfully, however if I can't debug in 64 bit mode and leverage the extra memory at the design stage,
    this is useless.  I have checked obvious things like the path environment variable, thinking perhaps SSIS debug doesn't know where the 64 bit exe is, but it is all fine paths are as they should be.  All 64 bit tools/dll's are installed.  I
    have tested this directly on the server, and on the client machine that I use and the issue is the same. If no one can help me here I guess I can log a support ticket.
    thanks in advance.

    Hi des_77,
    According to your description, you can only debug your SSIS package in 32 bit mode.
    Based on my research, I think the issue is caused by 64bit SSIS runtime is not installed on your machine. We can verify the issue by seeing if DtsDebugHost.exe under <Installation Drive>\Program Files\Microsoft SQL Server\120\DTS\Binn or not.
    To fix this issue, please install SQL Server and select Integration Services for installation, Setup installs all available 64-bit Integration Services features and tools. Then we can set the Debug Options property Run64BitRuntime to “True”, view the processes
    in Windows Task Manager to verify the version of DTDebugHost.exe when debugging the package.
    Besides, if the issue still existed, it is my pleasure to help you to reflect your recommendation to the proper department for their consideration. Please feel free to submit your situation on our product to the following link
    https://connect.microsoft.com/SQLServer/. Your feedback is valuable for us to improve our products and increase the level of service provided.
    References:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2014/05/22/ssis-packages-executed-from-visual-studio-business-intelligence-development-studio-bids-design-time-on-a-64bit-development-server-goes-to-unresponsive-state-during-package-execution.aspx
    http://dougbert.com/blog/post/64-bit-considerations-for-sql-server-integration-services-final.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • What is the correct usage for a "photoshop.executeScript"

    I am scripting in javascript on a Mac OSX machine with Bridge 1.0.4.6. I am trying to execute a Photoshop Javascript file from within Bridge, but I have been, as of yet, unsuccessful. I am attempting to use the photoshop.executeScript command with a

  • Error installing forms 6i

    Error Information on instalation forms 6i: mm60.map(0):FILE_NOT_FOUND while mapping mm60 why resolve this problem?

  • Tcode for global idoc interface parameters

    hi,   can any one say me the tcode for global idoc interface parameters.

  • Third party camera connector

    Does anyone know of a third party camera connector for the iPad? I am traveling before apple releases theirs. Thank you

  • I can't burn CD's in iTunes

    Having looked through these threads it seems I am not alone. I keep getting the error code 4550 unknown error. If anyone comes up with some answers could they please let me know what to do? Many, many thanks