Linking with gnu libstdc++ using no%Cstd option

Has anybody had success using (compiling and linking with) the GNU libstdc++ C++ standard library? This would be excluding the use of the Sun supplied Cstd library by using the compile option -library="no%Cstd".
If so please provide any key details.
I'm just trying a very simple test program:
#include <string>
int main(int argc, char** argv) {
string s = "Hello";
The command line to compile is: CC -library="no%Cstd" -lstdc++ test.cc
Many many compile errors follow. Curiously enough it doesn't seem to find the standard includes at /usr/include, even if I explicity specify in the compiler options.
Thanks.

This isnt going to happen. You would have to use -I to point CC at the gcc std header files. They are not going to compile with CC. Furthermore, CC and g++ use different mangling algorithms, so even if you got it to compile, the mangled names that CC emitted would not match the symtab entries in the gcc standard library shared object. And if you managed even more magic to get past this, you would discover that nothing ran, because CC and g++ use different ABI's, i.e. the mechanism by which g++ would propogate an exception would be incomprehensible to code generated by CC, etc. This is actually the underlying reason why the mangling algorithms differ - to explicitly prevent mixing compilers and libraries. Its a sad fact about C++, but you've got to use the same compiler all around, unless you limit yourself to a strict subset at the .so boundry, which is how COM gets around this.

Similar Messages

  • Link with examples of using dbms_stats package

    Please,
    Should Someone let me know when I could find a link or some example on using the new DBMS_STATS package to gather data statisitcs?
    Thanks

    All, made in Oracle:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/general.htm#sthref1861
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#PFGRF30102
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7887
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#sthref7903
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#ARPLS059

  • Problem with making remote toppics when linking with external chm

    Hi to everybody,
    i m novice to robohelp html when i am creating chm files from
    my exsisting project that is a robohelp word project which take
    input doc file in Robohelp word and create .hpj poject and then i
    open this .hpj project into robo help Html to create chm file .
    when i m opening this project into robohelp html it is making .xpj
    project from the hpj project .
    but at this time poject has some links with external chm but
    when i m making hyper link with external chm using Remote toppic
    option this option i couldn't unable to found any where in robohelp
    html plz anyone can know help me out from this
    probelm....................plz...................i need help
    ,,,,,,,,,,,,,,,,,,,if anyone know how to remote toppic occur in
    such situation plz let me know,......
    Thx
    Rgard's

    Hi Ruziyo and welcome to the RH forums.
    If you are opening up your project via the XPJ file in
    RoboHelp HTML the remote topic should be able to be found by:
    - Highlighting what is to be hyperlinked.
    - Clicking the Insert > Hyperlink menu item (or use the
    toolbar icon or Cntl + K).
    - Click on the arrow to the right of the "Link To" field.
    - Select the Remote Topic option.
    - Select the CHM file that contains the topic to which the
    hyperlink is linked to.
    - Select the required topic.
    You will be asked to copy the CHM into your project
    directory. Hope this answers your question. If not, please do come
    back.

  • Configuration of a Point to MultiPoint link with Cisco Aironet 1310 bridges

    Hi All,
    The previous problem of which I started another conversation here:
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Wireless%20-%20Mobility&topic=General&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddba023
    somehow dissapeared. It could have been a problem of interferences.
    I have another issue with other (multipoint) wireless WAN link, which I hope has a solution.
    On the central node, we have an Cisco Aironet 1310 bridge configured as root-bridge. It has a panel of four vertical polarity 17 dBi panel 90? antennas, with more than enough gain (there is a 250 mWatts 802.11 b/g amplifier, before the 4-way splitter) and excellent line of sight to three remote bridges.
    The three (03) remote bridges are also Aironet 1310 models, confidured as non-root-bridges.
    The problem we have is that it seems that when the three remote links operate concurrently the amount of lost packets is huge. When I shutdown the radio interfaces of two bridges, the remaining bridge makes an excellent link with the central node.
    It seems that some hours are more critical than others, also the links operate much worse when there is some (small) network traffic in them.
    I have read the 1310 manuals, and I can't find a sample configuration for point to multi-point links.
    Does someone knows what radio interface configuration should I need to use to establish better quality communication?
    I mean, perhaps the 1 x root - 3 x no root configuration is not recommendable for the multipoint link configuration.
    Any hints will be welcome.
    Best Regards,
    Igor Sotelo.

    Hi All,
    Thank you for the information. I configured the distance on the root bridges, but the links showed instability.
    I'm using a bi-directional amplifier. It has two pieces. According to the manuals, one is installed indoors, the other outdoors. I'm not sure if the indoors piece has the transmition module or it's only the injector.
    We could establish connection at 7 km (around 4 milles) distance from the central point, using 24 dBi antennas on the other side.
    However, we have issues with a near located point that is only 1.2 Km (around 0.8 milles) away and has a 13 dBi integrated patch antenna. The signal strenght value we get there is in the -62 to -68 dBm range, and is noticiably (5-10 dBm) lower than the strenght we get at other points of the link. And I have trouble establishing a high quality link with that point, using OFDM modulation. I tend to think that if I remove the amplifier I'm not going to reach that point at all. The EIRP on the central iste is 34 dBm / 2.5 watts, without amplifier it would be 26 dBm / 0.4 watts.
    On the opposite sites the EIRP is 33 dBm / 2 watts using CCK or 28 dBm / 0.63 watts using OFDM.
    When one looks at the central site from that point, an Motorola Canopy with passive reflector (EIRP 48 dBm or around 64 watts) can be seen. It doesn't have the same direction, but the opposite site must be large distance and could interfere with my wireless network. Attached is an amplified photo of the view. It's safe to assume that the Canopy operates in the 2.4 GHz frequency range.
    Once I connect the point at 1.2 Km, the multipoint link loses its quality, and soon the lost packets get too frequent.
    The CCK seems to be much more interfered than OFDM, I guess because of that canopies.
    Another thing I'm wondering about is if the Aironet 1310 can continuosly switch CCK-OFDM over the same point - multipoint link, without losing packets.
    What other parameters should I tweak? Is there a way to avoid interferences fromt the canopy?
    I would like to apply 100 mWatts local power using the radio with OFDM, but it seems that's not possible.
    Best Regards,
    Igor Sotelo.

  • Establish encrypted wireless link with Domain computer

    I am begging to migrate all of my wireless links to WPA, currently they are unencrypted. I have a few computers that recieve there connectivity via wireless link. I need to have these computers establish an ecyrpted wireless link so domain users can log on to them with cached credentials. I have 1100 series Ap that establish wireless link with an ACS using WPA and MS-CHAPv2.
    I was told i have to set up 802.1x the allow computer to establish link but have not been able to figure this out.
    Mike

    Mike
    With EAP-PEAP the wireless supplicant uses your windows username / password and the laptop/desktop machine account that exists in the window active directory database to authenticate
    With EAP-TLS the wireless supplicant uses the
    digital certificate installed on the laptop/desktop to authenticate
    Both methods use WPA or WPA2 to encrypt data
    take a look at this link
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/configuration/guide/peap_tls.html
    Mark

  • How to enable private mode from commandline, with an URL. I am a software dev and I wish to have my application open links in Firefox. Using ShellExecute(), i c

    How to enable private mode from commandline, with an URL.
    I am a software dev and I wish to have my application open links in Firefox.
    Using ShellExecute(), i can do with with commandlines like:
    firefox.exe http://support.mozilla.org
    But I also want the option to open the link in private mode.
    I am able to start firefox in private mode by doing this:
    firefox.exe -private
    However, if I add a link to the command line
    firefox.exe -private http://support.mozilla.org
    I get strange results.
    If firefox is not running, it launches 2 copies of the application.
    One that opens in private mode and the other opens in normal mode and goes to the URL specified.
    If firefox is already running, it just opens the URL in a new tab.
    No private mode instance is launched.
    Am I using the command-line syntax incorrectly?

    It will never work if Firefox is already running as Firefox will use the already opened Firefox instance.<br />
    In that case only using a separate profile will work.
    You can try to specify the -url switch as well.
    *firefox.exe -private -url http://support.mozilla<i></i>.org
    You can also look at the -new-tab switch.
    *firefox.exe -private -new-tab http://support.mozilla<i></i>.org
    *https://developer.mozilla.org/en/Command_Line_Options

  • Errors (-50) occured when i was using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in my iTunes application on my computer.

    errors (-50) occured when i was using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in my iTunes application on my computer.
    what is it?

    Quoted from the link I provided you with, in your other post.
    These alerts occur due to timeouts or conflicts trying to write a file during download.
    If you encounter this issue while accessing iTunes Store:
    See iTunes 9: "One Moment Please" or "Error (-50)" message when accessing iTunes Store
    If you encounter this issue while while downloading something from the iTunes Store:
    Delete your iTunes Downloads folder, located in:
    Mac OS X:
  ~/Music/iTunes/iTunes Media/Downloads   Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~) refers to your Home directory.
    Windows Vista:
  \Users\username\Music\iTunes\iTunes Media\Downloads\
    Windows 7:
  \Users\username\My Music\iTunes\iTunes Media\Downloads\
    Windows XP:
  \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Media\Downloads\
    After locating your iTunes Downloads folder:
    Quit iTunes.
    Delete the Downloads folder on your computer.
    Open iTunes.
    Choose Store > Check for Available Downloads.
    Enter your account name and password.
    If you encounter this issue while while downloading Digital Copies using Windows:
    Use MSCONFIG (directions for Windows XP and Windows Vista/Windows 7) to disable conflicting software.
    If using MSCONFIG steps resolves the issue, you may want to use the System Configuration Utility to turn on the third-party System Services and Startup Items one at a time (restarting your computer after turning on the item or items) to identify which System Service or Startup Item is causing the conflict.
    You can turn all of them back on by selecting the Normal Startup option under the General tab of the System Configuration Utility window, but please note that this may cause the issue to reoccur.
    If you are able to isolate the issue to a particular third-party software, you may wish to contact them to let them know of the conflict.

  • Linking with 12.4 beta (using CC -std=c++11, unresolved symbol operator new)

    Hi,
    I've got our code compiling with 12.4 beta now, but linking is proving slightly different to 12.3. If I compile with "CC -std=c++11", then I get link errors:
    Undefined                       first referenced
    symbol                             in file
    operator new[](unsigned long)         foo.o
    operator new(unsigned long)           foo.o
    These can be resolved by using "-std=c++11" when linking using "CC" (a mixture of .o files and archive .a libraries), but this involves modifying many Makefiles to add this extra flag, which isn't required for the Oracle Studio C++ 12.3 compiler.
    Is this expected behaviour? Or shouldn't the compiler figure this out itself when linking?
    Many thanks,
    Jonathan.

    As object files created during the compilation contain references to those runtime libraries you definitely
    need to link with them in order to satisfy those references. In your case it is allocation functions.
    -std=c++11 uses a completely different ABI and a completely different set of runtime libraries compared to the default mode.
    CC -std=c++11 knows which libraries to use (and which library/run paths to set up).
    CC by default links with different set of libraries and sets up a different set of library/run paths.
    Thus you dont have any other options - you need to link with CC -std=c++11.
    Say, if you would compile the sources with g++ and then attempted to link it with Studio result would be the same.
    regards,
    __Fedor.

  • How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.

    How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.
    == This happened ==
    Not sure how often
    == always

    Thank you, "the-edmeister" -- You render a great service, one that lifts my spirits.
    Your answer also taught me to be a little more persistent, as I had started looking at Preferences, and just didn't notice the icons (including Applications) at the top of that window that would have led me to my answer.
    Dave

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • My brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    my brother ipad was linked with old apple id and he forgot his id and never use same email.the problem now his mini ipad ask him for this id to open (activate ipad) what we can do ?

    He remember the id name and password but he can't enter we don't now if the password is wrong or the id was  lock . I have the all thing for the ipad such as his box . I now this is security thing but you could help me.

  • My iphone is linked with my pc and i want to use my laptop for the icloud

    My iphone is linked with my pc but i want to use my laptop and connet via icloud HOW????

    is your pc you mentioned the same as your laptop?
    here's a link
    http://www.apple.com/icloud/setup/pc.html

  • Can I use the remote app on my iphone to link with the ipad2 ?

    Can I use the remote app on my iphone to link with the ipad2 ?

    This is to control the music library to be more specific.

  • Using database link  with a dynamic SQL in Forms 5

    I have a Form 5 application where a database link is specified in a client version of dynamic SQL. The function that the application is designed to perform is to access data in a table in a remote database and use it to populate another table in a local database with the same structure as the source table. Dynamic SQL is used because the name of the table can only be resolved during run time.
    The problem is that it gives error with code 'ORA-03113' and text 'End-of-file on communication channel' when you try to run it.
    Is it not possible to use a database link with a dynamic SQL? What can I do to overcome the problem ?

    Try to create a local view based ao the remote table and use the view.

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

Maybe you are looking for