Use gcc/g++ with Tools.h++ in Solaris 8
In Solaris 8, can I use gcc/g++ compiler to link a program with Tools.h++ library that is shipped with Sun CC compiler (Sun ONE studio 7).
Thanks and regards,
Luu Vo.
Sun C++ and g++ generate incompatible binary code. You cannot mix binaries from the two compilers in one program, not even using shared libraries.
For a detailed discussion of C++ binary compatibiltiy problems, see my paper "The Stability of the C++ ABI" at
http://developers.sun.com/prodtech/cc/reference/techart/index.html
Similar Messages
-
Creating simple shared library using gcc under Solaris 10
Hi All:
I apologize if this is too newbie a question but have seen nothing that works for me yet.
I'm trying to create a shared library that contains a single object file using gcc (as installed on Solaris 10). I compiled the source code as follows:
gcc -c -fPIC x.cpp -o x.o
and got the x.o object file created and readable.
I then tried (from sample code on line):
gcc -shared -Wl,-soname,libMyLib.so.1 -o libMyLib.so.1.0.1 x.o
and get the following errors:
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libMyLib.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to x.o
collect2: ld returned 1 exit status-soname is a GNU ld option. Use -h instead.
NB:
- you should use g++ not gcc to compile C++ code
- this forum is about the Oracle C++ compiler, not gcc. With it, you would do:
CC -c -KPIC x.cpp
CC -G -h libMyLib.so.1 -o libMyLib.so.1.0.1 x.o -
Hello friends , I have started with writing c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!
I have started with writing c code on mac using xcode .....but one of my friend told me to use gcc for coding.
Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
If you insist on using an editor and the terminal I would recommend Emacs but it has a long learning curve so something like TextWrangler will work too.
As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
good luck -
Using AJA IO with the FCP Voice Over Tool
Has anyone used the io with the VO tool? I have gotten it to work in the past, however, there are a number of convoluted settings to go through to get it to work. It seems intermittent. Today it doesnt want to work at all.
Does anyone have a list of the specific A/V settings, Capture presets, etc, that i need to have set in order for this to work?
FYI--I have never had a problem capturing from tape--(using log and capture with beta, digibeta, dv, vhs)--only when capturing analog audio using the VO tool.
gracias.
dkYou can do it here, in the Audio/Video settings under the Final Cut Pro menu. Click on the Capture Presets tab, then go to Generic Capture Template, duplicate it, then edit. Give it a name that you can recognize when you need to set up your project.
-
How to install and use sql server express 2014 with tools
I am a student and have an assignment that requires I use either mysql or sql server, so I chose to download and install sql server express 2014 with tools, but after installation was complete all I can see is sql server 2014 import and export data (64-bit)
and I have no clue what to do wiith it...I had used sql server 2008 a couple of years ago and it was easy, but this is very complicated, I have been trying to get this done for 2 days now, so someone please help me and tell me what I am doing wrong.Hi,
It seems you did not installed complete software. Make sure you have downloaded below from
SQL Server Express Download link
Express with Advanced Services (SQLEXPRADV) when you click on Get started button on page displayed by clicking on above link. This download includes Sql Server Management Studio as well.
Before moving I would Like you to first read
Hardware and Software requirements
Please refer
how to install SQL server 2014 express
Above Link is for Enterprise edition but you can use it for express as well. When you reach page feature selection please select all features to install.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Lightroom 5.2 freezes when using the spot edit tool with Wacom Intuos 5
Hi,
I've been using Photoshop 6.x with my Intuos 5 for almost a year and it's been great. I recently purchased Lightroom 5.2 only to discover that when I use the spot edit tool that it freezes when i use this tool as a brush. It starts off smooth, but after brushing across my area i want to clone/heal, Lightroom seems to freeze up, and the spot edit tool is unusable. I can lift my pen off the tablet and a few seconds later Lightroom comes back, but the tablet is basically unusable to me. The mouse works perfectly fine.
I've read other posts at the end of last year '12, that walks through some regedits and disabling some other tablet functions, but none of those work for me. Any suggestions would be appreciated.
Thanks Ed
Lightroom version: 5.2 [922700]
Operating system: Windows 7 Ultimate Edition
Version: 6.1 [7601]
Application architecture: x64
System architecture: x64
Logical processor count: 8
Processor speed: 2.7 GHz
Built-in memory: 16375.0 MB
Real memory available to Lightroom: 16375.0 MB
Real memory used by Lightroom: 429.4 MB (2.6%)
Virtual memory used by Lightroom: 403.7 MB
Memory cache size: 300.8 MB
Maximum thread count used by Camera Raw: 4
System DPI setting: 144 DPI
Desktop composition enabled: No
Displays: 1) 1920x1200
Adapter #1: Vendor : 1002
Device : 9498
Subsystem : 16031462
Revision : 0
Video Memory : 1005
AudioDeviceIOBlockSize: 1024
AudioDeviceName: Speakers (Realtek High Definition Audio)
AudioDeviceNumberOfChannels: 2
AudioDeviceSampleRate: 44100
Build: LR5x20
CardID: 38040
Direct2DEnabled: false
GPUDevice: D3D
MaxTexture2DSize: 8192
OGLEnabled: true
Renderer: ATI Radeon HD 4600 Series
ShaderModel: 10.1
Vendor: AMD
VendorID: 4098
Version: 1002:9498:16031462:0000I solved my own issue. I saw an article @ http://www.lightroomforums.net/showthread.php?19694-Spot-removal-tool-doesn-t-work-with-Wa com-Intuos-5-in-LR-5 that solved my issue.
Step 1:
Walcom Tablet Properties
Step 2:
Click on Customize and change the default line graph from this:
Step 3:
To this
Step 4:
Click OK.
After that, my spot edit tool stopped freezing in LR 5.2 while i was using my intuos 5 pen.
Prior to doing this, I also did the procedure listed here: http://forum.wacom.eu/viewtopic.php?f=10&t=8036
So it's possible that both need to be done in order for the freezing to stop. I hope this can help others. -
Replace words with images, in a table, using the search/replace tool
Hello everybody
I have a question:
Is it possible to replace words with images, in a table, using the search/replace tool?
My case:
I have a table with about 9000 articles on about 400 pages. In this table there are words which I like to replace with Logos.
Example: The word "DM" should be the Logo "DM" (.eps). This word is about 1200 times in this table.
Is it possible to replace it automatically?
Thank you very much for your helb.
Kind regards AlexHello Mr. Werner
Thank you for your reply.
Can I ask you which Version of InDesign do you use?
I use CS 5.5 and there I can't find the change field "other" you told me.
Can you see it on the screenshot? (Sorry it is german...)
Thank you very much for your support.
Kind regards Alex -
Use the "Rectangular Marquee Tool" with my mouse
Hey.
When I use the "Rectangular Marquee Tool" with my mouse, it is often difficult to do it accurately.
Is there an easier way to do it than with the mouse, - can I manually enter the size of my selection ..
Any advice is welcome. -
Bought and installing Logic X hope to use all my Pro Tools Stuff with Logic X to reduce the learning curve for my Wife who is not very computer savy All her music is 96K and degitized with Pro Tools from analoge 16track tape.
mende1 wrote:
Welcome to Apple Support Communities
Apple offered a refund for users who purchased Logic Pro 9 30 days or less before the Logic Pro X launch, but they don't do it anymore, so if you want to upgrade to Logic Pro X, you have to purchase it in the Mac App Store
Part of this is incorrect...
Some App Store employee's "accidentally" (but in good faith) issued refunds to a few users who had purchased Logic 9 within 30 days prior to the mid-July release of Logic-X. Word quickly came down from Apple HQ that this was against App Store policy and the practice was immediately stopped.
To the original poster.. you never stood a chance, even if they were issuing refunds you didn't fall within the 30 day period. There were many who purchased Logic 9 a few days before the LX release who did not get a refund. -
I use photoshop CS3. Shortly, when I try to use one of the tools, they react only with the eraser. So I cannot use the other tools. I tried to reset in general preferences all warnings. Then I can use the tools again, but with the next picture I get stuck with the eraser again. What can I do? Joost van Santen
Have you tried resetting all tools?
-
Can iPad be used with digital projectors? I'd like to use as a teaching tool to project iBooks on screen.
Yes. You'll need to get the proper adaptor, VGA or HDMI (depending on your projector) or connect wirelessly through an Apple TV connected to your projector.
-
Using New LabVIEW Merge Tool LVMerge With Tortoise SVN
Hi,
I've just posted a new blog article Using New LabVIEW Merge Tool LVMerge With Tortoise SVN to my blog at ExpressionFlow. Check it out!
Tomi
Tomi MailaThe LV merge tool really does become far more powerful when integrated into SVN than when used manually. Here's an article on Using LVmerge LabVIEW Merge Tool with TortoiseSVN with all the necessary setup instructions for LabView 8.5 and 8.6.
Jesse -
Sample plugins not working with Netscape 7 on Solaris 8.
I'm trying to build a scriptable plugin for deployment into Netscape 7
and Solaris 8.
I finally got mozilla 1.4.1 built under Solaris 8 and deployed the
plugin from modules/plugin/tools/sdk/samples/simple. By deployed I
mean that I copied the libnpsimple.so file to the netscape plugin
directory and copied the .xpt files to the netscape components
directory. I even removed the xpti.dat file from the netscape
components directory so that it will get regenerated when netscape 7
is started.
I started up netscape 7 and checked about plugins and I find the
simple plugin in the list of enabled plugins. So far, so good.
I open the test.html file in modules/plugin/tools/sdk/samples/simple
into the browser and click on the version button and I get an alert
box that displays "undefined". Also, if I reload the page netscape
crashes.
I also tried the scriptable sample plugin with essentially the same
result.
Does anyone know what I need to do to get a sample plugin to work with
Netscape 7 on Solaris 8.
Some help would be very much appreciated.
Thanks.Start by fixing the Xhtml coding errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&charset=%28detect+a utomatically%29&doctype=Inline&group=0
And CSS errors:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.frontiers.uk.net%2F&warn ing=1&profile=css21&usermedium=all
Your 50% site stats probably include Mozilla/Firefox users.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"pawpour" <[email protected]> wrote in
message
news:fbghtk$o3s$[email protected]..
> Hello everybody
>
> My site is up at www.Frontiers.uk.net. I used
Dreamweaver CS3, with CSS,
on a
> Mac.
>
> It seems to work fine in IE 6 & 7, Firefox and
Safari. When doing a
browser
> compatibility check, I get one error: "Double float
margin bug", which it
says
> affects IE 6. I don't think this is causing a problem.
>
> However in Netscape (I've only tried version 7) the site
looks terrible -
the
> right hand link in the navbar drops down to the second
line.
>
> Also, there are two DIVS, one floated left and one
floating right, and in
> Netscape the right one drops underneath the other. I
know that there can
be
> problems with IE 5, in its dealing with margins but I
havent heard
anything
> about Netscape being a problem? Also I thought that the
IE box model bug
can
> just make the DIVS narrower, not make one drop below the
other.
>
> Dreamweaver isn't throwing up any browser errors for
Netscape.
>
> I thought that hardly anyone would use Netscape, but the
stats for my
site say
> that around 50% of users are using Netscape (which i
find hard to
believe!)
>
> Any ideas what I've done wrong or how to fix this for
Netscape?
> -
GNU gcc and Oracle 10g/11g on Solaris x86-64- examples?
We are looking at developing an Oracle database app on the above platform. We have the Solaris Studio 12.2, but one of the programmers has a visual impairment which makes using the GUI difficult.
I "think" one might be able to use the GNU gcc series compilers ( which she is familiar with) to develop an app that runs on Solaris, and accesses the database on the same server using the Oracle libraries, but I am unclear on the details. Can someone point me in the right direction to get the information needed, or sample code for using the gcc compilers for database access????I believe you can use gcc for developing Oracle database programs on Solaris. But the best place to ask about database development is in an Oracle database forum:
http://forums.oracle.com/forums/main.jspa?categoryID=84
and look under the Database entry. -
Building character driver using gcc-3.3, what flags to use?
Hi there,
I need to build my character driver on my Ultra 60 sparc station, using gcc 3.3. What flags do I use to build 32-binaries and 64-binaries?
I don't have the Forte Tools (C Compiler). I would like to purchase a copy, but it's tooo expensive for personal use.
Thank you,
KymYou probably have discovered that Sun Studio 11 is now a free download:
http://developers.sun.com/prodtech/cc/
http://developers.sun.com/prodtech/cc/downloads/sun_studio/index.html
I am interested to know whether you find the "Building a Driver" section in the Device Driver Tutorial helpful:
http://docs.sun.com/app/docs/doc/819-3159/6n5d9rbv8?a=view#fgouv
Please let me know if you have any comments on any part of this book.
http://docs.sun.com/app/docs/doc/819-3159/
You can use the Send comments button at the bottom of any docs.sun.com document.
Thank you for your feedback,
Alta Elstad
Solaris Developer Documentation
Maybe you are looking for
-
Pie chart problem with label!
Hello, I found this example of pie chart, I tried to use several pie charts but the label square move in some chart. It shows the square moved down when it uses the vi. I attached the example with 4 pie charts and sometimes it show the 4 sqaures and
-
I created an iMovie project and finalized it, but when I tried to look for it, it was gone in the iMovie project library. I can find it on"finder", and open package contents etc, but it won't play in iMovie. How do I recover it? Its really important!
-
How to save Video clip in database
Would appreciate if someone can help me in saving a video clip in database using forms. I am able to load video clip as active-x control in form. An early reply will be highly appreciable. Thanks and Regards, Vipul
-
Is my ipad wi-fi, gsm or cmda
Hi guys im am having troubles identifying if my ipad (the newest version with wi-fi) is the wi-fi version, the gsm or cdma version. P.s my model number is: A1460
-
Exchange rate should pick from TCURR based on custom date field added in MIGO
Hi, In MIGO, FI document get posted by picking exchange rate based on the posting date. Through BADI(MB_DOCUMENT_BADI) we have added a field called translation date in MIGO screen, while doing GRN exchange rate should pick from TCURR based on transla