How does sun cc support GNU C?

I fail to build theora on solaris_x86, it seems some it does not support GNU C style.
$cc -V
cc: Sun C 5.8 Patch 121016-02 2006/03/31
usage: cc [ options] files. Use 'cc -flags' for details
How can I deal with this situation,
- Waiting for new complier
- Write patch for theora(Do not know how to, any idea?)
Sample code are:
static const __attribute__ ((aligned(8),used)) ogg_int64_t V128 = 0x0080008000800080LL;
__asm__ __volatile__ (
" .balign 16 \n\t"
" pxor %%mm7, %%mm7 \n\t"
".rept 8 \n\t"
" movq (%0), %%mm0 \n\t" /* mm0 = FiltPtr */
" movq (%1), %%mm1 \n\t" /* mm1 = ReconPtr */
" movq %%mm0, %%mm2 \n\t" /* dup to prepare for up conversion */
" movq %%mm1, %%mm3 \n\t" /* dup to prepare for up conversion */
/* convert from UINT8 to INT16 */
" punpcklbw %%mm7, %%mm0 \n\t" /* mm0 = INT16(FiltPtr) */
" punpcklbw %%mm7, %%mm1 \n\t" /* mm1 = INT16(ReconPtr) */
" punpckhbw %%mm7, %%mm2 \n\t" /* mm2 = INT16(FiltPtr) */
" punpckhbw %%mm7, %%mm3 \n\t" /* mm3 = INT16(ReconPtr) */
/* start calculation */
" psubw %%mm1, %%mm0 \n\t" /* mm0 = FiltPtr - ReconPtr */
" psubw %%mm3, %%mm2 \n\t" /* mm2 = FiltPtr - ReconPtr */
" movq %%mm0, (%2) \n\t" /* write answer out */
" movq %%mm2, 8(%2) \n\t" /* write answer out */
/* Increment pointers */
" add $16, %2 \n\t"
" add %3, %0 \n\t"
" add %4, %1 \n\t"
".endr \n\t"
: "+r" (FiltPtr),
"+r" (ReconPtr),
"+r" (DctInputPtr)
: "m" (PixelsPerLine),
"m" (ReconPixelsPerLine)
: "memory"
);

For
static const __attribute__ ((aligned(8),used)) ogg_int64_t V128 = 0x0080008000800080LL;
Put
#if !defined(__GNUC__)
#define __attribute__(X) /* nothing */
#endif /* __GNUC__)
For the assembler, you'll either have to extract it to a separate assmbly file and assemble it with as (or gas), or else port it to C.
Paul

Similar Messages

  • How does Sun make money from Java? Silly question.

    Hi,
    From what I have read about the J2SE licensing, we are able to download the SDK and develope commercial applications with it for free.
    Have I made a big mistake in my reading? How does Sun make any money from Java?
    Thanks very much.
    Prem.

    related topic
    a lot of companies package a free or trial version of software like
    Rational Rose
    TextPad
    VisualAgeForJava
    DreamWeaver
    etc.....
    the versions may be limited in many ways
    they want public and students to use it to become popular
    students get jobs and convince boss to buy enterprise edition
    they make money
    I didn't mention sun in the above list cause they are special!!!!!
    some other interesting topics include GNU liscence and
    COPYLEFT
    check it out

  • How does the ADF support romote call method between two managed server ?

    How does the ADF support romote call method between two managed server ?

    You would usually use this as a WebService through the WSDL that is exposed.
    JDeveloper can help you create a Java Proxy to call the Web service if you point it to the WSDL file that was generated for your AM.
    Some other samples here:
    http://www.connotea.org/user/jdeveloper/tag/Service%20Interface

  • How does Oracle EM support WBEM

    How does Oracle Enterprise Manager suport Web Based Enterprise Manager (WBEM) and more specifically Windows Management Instrumentation (WMI). Is there a provider for these?

    There are already target-types/integration solutions available for these target-types in Oracle EM. Any reason you are not able to take advantage of the same ?
    For web-services, you should find answer to your query in Section 7 of the latest Extensibility guide (10.2.0.5). Also, refer to the section 10 on out-of-box fetchlets (in specific section 10.4 on URL Timing and section 10.10 on OJMX/SOAP fetchlet).
    The extensibility guide can be downloaded from here .

  • 2 way SSL: How does Sun implement handling malformed certificate requests?

    Hi
    I'd like to know how sun implements the following 2 way ssl-scenario:
    When an SSL server requests client authentication, it sends a message
    to the client that says "here is a list of the names of CAs that I trust
    to issue client certs. If you have a client cert from one of these
    CAs, then send it to me". That list is NEVER supposed to be empty.
    But the hint above suggests that it is. If your server has not been
    configured with the names of CAs that it trusts to issue client certs,
    it's sending an empty list.
    When an SSL client receives such a malformed request, with an empty
    list of trusted client CA names, it may either (a) choose to send
    back a response that means "I have no cert issued by any of the
    issuers you have named", ***or (b) send back any certificate you have***
    ***and hope the misconfigured server will accept it.***
    Please advice? What is the switch to tell the client to send any certificate?
    Thanks a lot
    Christian

    That list is NEVER supposed to be empty.It doesn't actually say that anywhere in the RFC.
    When an SSL client receives such a malformed request, with an empty
    list of trusted client CA names, it may either (a) choose to send
    back a response that means "I have no cert issued by any of the
    issuers you have named", ***or (b) send back any certificate you have***
    ***and hope the misconfigured server will accept it.***That's not how I read the RFC. I would say the client should decide there is no suitable certificate available, and send back an empty ClientCertificate message. That in turn may provoke the server into sending a fatal handshake failure alert.
    What is the switch to tell the client to send any certificate?There is no such switch.
    More to the point, why is the server's CA list empty? That must mean that it has an empty truststore. That's the problem you should fix.

  • How does jmf support for avi format

    I have written code to play audio and video filesusing JMF..My code is able to run only in mp3 and other 2 formats, but it is failed to run other formats like avi, mov etc..Now i need to play my video file which is their in avi format. Please tell me how does my code supports in other formats too...I had searched in google and it has given me some sites, but i didnt get any solution from them.

    Ok, I rant about this same thing again
    AVI is a file format. Think of it like a can. Either you have a can openor or not, but just because you have the ability to open the can doesn't mean you can necessarily eat what's inside.
    AVI is simply a file format that you can embed audio and video data into. The video itself is going to be encoded using some video encoding, like, RGB or DivX or something like that.
    JMF supports the AVI filetype, but it only supports a few video encodings for the AVI.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
    Same with MOV files. Again, a filetype. You need to make sure the encoding inside the file is supported by JMF, otherwise it won't be able to play it.

  • Does Sun One Web Server support server-side javascripts?

    Hi,
    We have used Netscape iplanet web server running our server-side javascripts for a few years. We're evaluating the latest Sun One web server and see if it can run the server-side javascripts. Does Sun One support server-side javascripts? If so, where do I can find the document?
    Thanks.

    you can use JScript (a type of server side java script) if you install Sun One ASP. it also gives you VBScript support as well

  • How does java support the concept of destructor?

    How does java support the concept of destructor?

    @KunalSurana: before you flood the forum with basic questions, do us a favour and read.
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.co.uk/exec/obidos/Author=Bloch,%20Josh]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • How does it work? SuperDrive with double-layer support

    Hi,
    Can anyone help me? I own a macbook with SuperDrive with double-layer support. I want to try to burn a dvd with the dual layer, how does this work? Which applications do i need? I have been searching for info on this subject but havent succeeded so far..

    Any standard burning application such as Toast (or OS Xs built in burning) will burn a dual layer disk. You don't need to do anything special... it will just see the disk with double the capacity. What you do need to do is get dual layer DVDs. They're not all that easy to find at many retail stores, but they're pretty easy to find online.

  • HT1600 update Apple TV via settings general update software advise Apple support.  But Airplay won't display the Apple Tv because it needs an updated compatible software. Catch 22. How does one resolve this contradiction please? Paul

    update Apple TV via settings>general>update software advise Apple support.  But Airplay won't display the Apple Tv because it needs an updated compatible software. Catch 22. How does one resolve this contradiction please? Paul

    only the following macs support airplay mirror
    http://support.apple.com/kb/ht5404

  • How does one escalate problems with support

    Hi
    How does one escalate problems one experience with support?
    The support desk has agreed three weeks ago that they will arrange for my Playbook to be collected - and I have follwed up a number of times - but still nothing. I am still sitting with a useless Playbook.
    Thanx 

    I had the issue too, you have to agre to the email that was sent to get RMA done.
    might need to call support once more and explain this part and agree to the email.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How does Labview support redundancy?

    I have a control system and Labview will act as the means of control/monitoring. However, I want to have a primary and secondary computer with duplicate system setups. How does Labview support this type of redundancy such that if the primary goes down, the secondary will take control seamlessly.

    Hi,
    LabVIEW has many capabilities that can be combined to create a very robust redundant system. Some of these features include the following:
    Archiving databases periodically
    Monitoring a process on a remote machine
    Executing an application on the backup when the primary has failed
    The most straight forward method of implementing the monitoing is to use discrete memory tags to create a heartbeat. When the heartbeat on the Primary machine has stopped, the backup should take over and begin execution.
    If you have specific questions about how to implement this, feel free to call support by going to www.ni.com/ask.
    Regards,
    Mike

  • How does NetWeaver support FIPS in java part?

    As we know,  default JDK doesn't support FIPS in the SSL/TLS socket.
    There are 3rdpart soft, like certicom, bsafe can support this.
    And in the opensource, NSS + jdk, seems can be a solution.
    Here, just a question, how does NetWeaver support FIPS in java part?  Is there an internal implementation?
    Thanks.
    Message was edited by: Andy Silvey

    I'm not aware of any. The library is backwards compatible so you should be able to replace an existing SAP Cryptographic Library with CommonCryptoLib. The Crypto Kernel implementation seems to exist only for AS ABAP. Maybe someone working on security at SAP can comment, I will ping the Security space to get their attention.

  • How does BW support Balanced Scorecard?

    Hello,
    how does BW support Balanced Scorecard? Is it linked with CPM?
    thanks for input.
    Best regards.
    Kern kern

    hi Kern,
    check
    http://help.sap.com/saphelp_sem60/helpdata/en/1b/3131375fc9342ae10000009b38f839/frameset.htm
    The Corporate Performance Monitor accesses data that is stored in the SAP Business Information Warehouse (SAP BW)
    http://help.sap.com/saphelp_sem60/helpdata/en/70/18d437d4af0a21e10000009b38f8cf/frameset.htm
    The measures, on which you report with the Balanced Scorecard function, are defined by means of the Measure Builder function, and they are linked with technical key figures of the SAP Business Information Warehouse
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/72663ca0a9272ae10000000a11405a/frameset.htm
    (navigation through left nodes)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/827439a551d61ae10000000a114084/frameset.htm
    hope this helps.

  • I wanted to know how does technical support work via icloud and is there any new technology out that helps providing technical support

    i wanted to know how does technical support work via icloud and is there any new technology out that helps providing technical support?

    basically I’m doing a project were I wanted to find out if there are recent technology  out that provides technical support for example they do it with remote access but is they any new ways that  they can support us and just wanted to find out if icloud gives technical support then how?

Maybe you are looking for

  • How to remove # sign in report

    Hi,       In our report out put we are getting # sign for one of the master data attribute "QUOTATION Number" . Is there any way to remove the # sign for the "Quotation number" instead of removing the whole record by EXCLUDING UNASSIGNED value. There

  • ILife 11 from Mac App Store on a new Macbook Pro

    Hello, 2 months ago I bought a refurbished Macbook Pro early 2011 which came with Lion and iLife 11 pre-installed. I was supposed to accept my iLife bundle in the Mac App Store which I tried to do with the Apple ID with which I had registered my Macb

  • DVCPro HD frame rate issues

    I'm sure that this question has been asked before, but I performed a couple searches and couldn't find a thread to perfectly answer it. I have a tape that was shot (with the Pansasonic HDX900, shot to tape and not P2) at two formats, 720/24P and 720/

  • Help...where can i find the api for XSLTProcessor

    Anyone can help me on tis.... i hav already import org.apache.xalan.xslt.*; to my program which look like tis //program Simpletransform.java //necessary import files import org.apache.xalan.xslt.*; import org.w3c.dom.Document; import org.xml.sax.SAXE

  • Won't boot, hangs on blue screen

    i was doing a software update of a bunch of things and the system ended up hanging for a very long time so i did a hard restart. when i turned it back on it went on very slowly, and got hung up at a blue screen. i did another hard restart and it came