Compiling for solaris 9

One of our boxes still runs solaris 2.5.1 but we need to compile some things for a solaris 9 box. Would the binaries compiled on solaris 2.5.1 be compatible for solaris 9?
From what I have gathered searching the web, there are notes that the binaries would be compatible, but there is also a chance it may not. What are the caveates?
Also, we are unable to compile on this solaris 9 box.

They should work.
7/M.

Similar Messages

  • License for cross-compilation for solaris 10 sparc on Linux x86

    I'd like to do cross-compilation for solaris 10 sparc on Linux x86 using gcc (for linux). To do that, I have to copy libraries (/lib/64) and includes (/usr/include) from a sparc machine to my linux machine.
    The compilation will be run on about (up to) 50 Linux machines (by various developers). We also have 3 solaris-10-SPARC machines.
    I wonder if Solaris license allows me to copy the includes and libs to perform compilation elsewhere.
    I also checked "OTN License Agreement for Oracle Solaris", but it looks like Oracle allows for installing "the programs" on up to 3 machines, but I need it on 50.
    Thanks for any suggestions or redirections to a proper place where I can get an answer.
    Marek

    When installing Solaris 10 01/06 on a Dell 1850 I receive an error message during the install saying "no disk found". I assume that the drive/controller is not recognized. The Dell 1850 is listed under the HCL for Solaris 10 10/06. I don't believe I can use the Solaris(TM) Device Driver for the LSI MegaRAID Adapter floppy with 1/06. I don�t have any other Solaris boxes up so I can�t build a jump start server. Any suggestions?

  • Where can I get a C compiler for Solaris  10 (sparc)?

    Where can I get a C compiler for Solaris 10 (sparc)?

    Have you tried gcc ?Ok. What kind of GCC compiler for Solaris 10( sparc) can you suggest me?
    The gcc-3.3.2 was compiled on Solaris 9, but i am using it on Solaris 10, that is why(it is my assumption) i have some problems with compilation library files( for example, sys/kstat.h)

  • Compiling for solaris 9 on solaris 8 machine

    Hi, is it possible to use a solaris 8 machine with workshop, to compile binary for solaris 9.
    I need to compile user-mode app as well as kernel modules both for 64/32 bit environments.
    The modules are all dynamically linked.
    If this is possible, what is the proper procedure??
    ERAN.

    For user space apps, if you are sticking to the published interfaces (ie: not using any private, non-public symbols you might have dug up in our libraries) then compiling and linking on Solaris 8 and running on Solaris 9 is not a problem, at least for user space. Run appcert on your application if you want to ensure you aren't using anything private. We are forward-compatible in this sense.
    As for kernel modules, I don't know enough to comment.

  • Is it possible to use CC 5.7 to compile for Solaris 6/7 platforms?

    Hello,
    we are currently upgrading to the new CC 5.7 from CC5.2 (Forte Update 1). One advantage we notice is the new, simplified licensing scheme, and hence the possibility to get rid of the license server installations. However, we still have to support our product on Solaris 7 (and possibly, though unlikely, Solaris 6).
    Because CC 5.7 only installs on Solaris 8, the question is whether it would be possible to cross-compile for those older platforms (e.g. via -xarch). (And use our Solaris 7 installations only for testing, not compile-purposes anymore.)
    Your help is greatly appreciated!
    Many thanks,
    Andreas

    Programs built on Solaris 8 usually will not run on Solaris 2.6 or 7, no matter what compiler you use. Sun Studio 9 (C++ 5.7) supports only Solaris 8, 9, and 10.
    You need to build your applications on the lowest version of Solaris that they are intended to be run on. Maybe you could build on Solaris 7 using FD6u1, and again on Solaris 8 using Studio 10 for customers using Solaris 8 and later.

  • Sparc C/C++ compiler for Solaris 7 ?

    A legacy programming project is making me dust-off my SPARCstation 20. I believe it has either Solaris 2.6 or Solaris 7 loaded. Although I should upgrade to the latest Solaris, I'm hoping to avoid that nightmare, since this project is a one-off. The old SUNWspro C/C++ compiler on this SS20 was an add-on purchase item back then, and now the debugger (dbxtool) is not working correctly.
    Here is my silly question: Does the Sun Studio C compiler support Solaris 2.6 or Solaris 7 ?
    Thanks.

    My dbxtool is from many moons ago, just after Sun unbundled the standard C compiler from Solaris, and made it a product you had to buy separately. So my C/C++ compiler on Solaris 2.6 is a product known as "SPARCworks 3.0". In SPARCworks they had renamed the traditional dbxtool binary to "debugger". I remember the last time I used this system (at least 8 years ago) the debugger was working, but now when I run it, it stops with the error:
    Debugger: internal error (11).
    Abort.
    I'm not working remotely, I'm on the console.
    I think it will be easiest now to just get a Sunblade/Sparc and load Solaris 10/SunStudio 12.
    There is more to this story for those who are old enough (like me) to remember Disco. I also have an old SPARCstation 2 (3/60) with SunOS 4.1.3 still running. It was used for supporting the ancient SunOS version of our CADDS 4X viewing software. I got it running yesterday, and updated the C source files for the project. Got it to compile without errors, but the regular "dbxtool" that came with OpenWindows fails to load my code. I should be able to do: "dbxtool dvcadds &" and that will load the project, but it just sits there (I'm on the console). I know that used to work. I can still use plain "dbx" on both systems, but that is too painful.
    On the old SunOS system, if I just run "dbxtool", it appears, and I can "run dvcadds", but it doesn't recognize the fact that I have compiled all .o files with cc-g, and won't load source files to step through.
    So I'm still looking at getting a Sunblade with Solaris 10/SunStudio 12...

  • Targeted C compilation for Solaris 8

    Hi
    I'm running Solaris 10. I need to build a C application - a socket based server daemon - which will run on Solaris 8, AFAICT on different h/w platforms, though all sparc I think.
    So I assume I need to configure my compile/link for the target platform.
    From the docs it looks like I could specify the code name for a given machine with the target option, eg -xtarget=ultra3i - which would then build for an Ultra sparc IIIi. But that sounds like a pain, esp as the target servers are located around the world, and no one person knows what they all are.
    Or can I use the 'generic' target? Any issues with building a networking application on 10, to deliver on 8 using that target?
    Any help (or definitive url <g>) would be greatly appreciated.
    TVM
    Chris

    Or can I use the 'generic' target? Any issues with building a networking application on 10, to deliver on 8 using that target?How generic is generic? Generic Sun4U and Generic Sun4D are different platforms so even if it is generic is it generic enough?
    The easiest thing to do would be to look for a lowest common denominator for each platform, do the build on that and then test it out on the rest.
    Compiling is usually forward compatible and not backwards compatible.
    alan

  • Encrypted block devices - loficc driver compiled for Solaris 10

    Hi all,
    First post, and hopefully a useful one :)
    I've managed to compile the OpenSolaris loopback block device with crypto support (loficc) on my Solaris 10 system, and it appears to work.
    Download available here: http://ashbysoft.com/download/loficc-sol10.tgz
    Phil.

    Well, much of the contents of Solaris 10 make up the base of OpenSolaris. So you could open a bug against OpenSolaris without a contract, and any fixes should eventually make their way back.
    In fact, you could recompile the driver and see how it operates. The code does show the difference you report.
       1603    * [4] Data is buffered in the driver and pre-acked to the application. This
       1604    *      is only supported in Solaris 2.5.1.(See: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate.bad/usr/src/uts/common/io/scsi/targets/st_conf.c)
    However my assumption is that this flag should not be necessary. If you override the DLT7000 to remove that bit, does it crater as well? I wouldn't think that the driver acknowledgments would be required for some speed here.
    What application are you using to dump the data? 'dd' with a big buffer size? (dd if=/dev/zero of=/dev/rmt/0cbn bs=128k count=5000)? This bit should increase the speed if the app is especially sensitive to the acknowledgement time.
    Darren

  • Build for solaris 8 on solaris 10 - possible?

    I want to build/compile an application for solaris 8, but I only have access to a machine running solaris 10. Can I compile for solaris 8 on a solaris 10 machine, and if so, what do I have to do to make it work?

    The short answer is generally no.
    The long answer is that it can be done but you will need to make sure that on the Solaris 10 machine you only use functions/headers/libraries that are available on Solaris 8 otherwise they will not be found and the software won't work.
    alan

  • Cross compiling apps on solaris 8 for solaris 10 x86 and x64

    Hi All,
    We have a few applications built on Solaris 8. and we want to build the same apps on Solaris 10 x86 and x64 but the problem is clearcase does not support Solaris 10 yet.
    Can we cross compile the apps on Solaris 8 for Solaris 10 x86 and x64 ? and how ?
    waiting for any info on this.
    TIA,
    warm regards,
    Girish

    FYI, I noticed the reply on Sun Studio General Forum:
    If you build an app on one version of Solaris, the app will run on later Solaris versions. So in particular, you can build an x86 application on Solaris 8 and run it on Solaris 9 and 10.
    Unfortunately, an x64 application must be built on a Solaris x64 system, which first became available with Solaris 10.

  • Need to compile C code for Solaris 5.4 target

    Hi,
    I'm current on a project where the target platform is Solaris 5.4. I believe the SunOS version is 2.4. Unfortunately, there is no way I can get the customer to upgrade their server or OS.
    In my search so far I've been unsuccessful in finding a compiler for that platform. The oldest gcc I can find is for SunOS 2.5.
    What other options do I have?
    Will code compiled with the C compiler in the Sun Studio 12 be able to run on SunOS 2.4? If so, is there a command line option I need to set while compiling the code?

    No available Sun compiler can be used on, or to generate code for, SunOS 5.4 (Solaris 2.4). Even Sun Workshop 5.0, released in 1998, did not support Solaris 2.4.
    If you develop code to be run on Solaris 2.4, you need to compile on Solaris 2.4 (or earlier). Binaries created on a later version of Solaris will not in general run on an earlier version of Solaris. I think that Sun WorkShop 3.0 was the last version that supported Solaris 2.4, but it might have been WorkShop 2.0. Those antiques are not available from Sun.
    If I were in this situation, I would tell the customer that the OS and all support software are many years past End Of Service Life. No support is available, the software is no longer available, and I can't help them unless they are willing to upgrade to supported software. (I might also ask the customer if they still use Windows 3.1 on their PCs. The situation is comparable.)
    If you don't have that option, your next best hope is that the customer has a C compiler on their system. If so, find a way to use it. If it's a Sun compiler, you will have a problem acquiring a license to run it. You will probably have to run it on their system.
    If the customer doesn't have a compiler, I guess you have to keep trolling in newsgroups and forums, looking for a compiler that supports Solaris 2.4. Good luck.

  • Also I need ndiswrapper support for solaris 10

    I have a linksys -G type router and my computer uses a Linksys Wireless-G PCI Adapter with SpeedBooster
    which works in Linux like mandrake , debian systems like knoppix and kanotix but their are some buggy like debian also that don't let me change the essid in debian but most linux works with the drivers for my card which are
    04/13/2004 10:01 AM 7,870 BCM43XX.CAT
    03/31/2004 08:44 AM 11,960 BCMWL5.INF
    02/19/2004 11:51 AM 300,928 BCMWL5.SYS
    normally you install the drivers with ndiswrapper -i BCMWL5.INF then use -m to add it too the model loader program in linux which adds wlan0 to ifconfig and iwconfig programs
    which also ndiswrapper requires the source code of the kernel to install the ndiswrapper right , it req. it too compile the drivers, and using the linux gui programs to setup essid and key wep info
    also I use a script in kanotix to use /etc/network/interfaces to load the info on bootup etc.. to get my wireless network card up in linux.
    also how the support for soundblaster sound cards in solaris 10, I have not fingured out if theirs sound yet. freebsd 5.4 seemed to be missing the sound support
    one more thing in bootup of the install program for Solaris 10 my geforce 6800 card detected right but my tv output was all wrong in since the picture , was only on the monitor and tv had stange graphics on it which did not look right I hope nvidia drivers fix this problem , Is their any different command needed for clone mode in Solaris 10 then free86 nd xorg scripts use?

    I got the solutiion from Canon Customer Serivce, temporary until the 10.10 download is released.  It works:
    "You can download the latest software updates at this address:
    http://www.usa.canon.com/cusa/support/professional/professional_cameras/eos_digital_slr_cameras/eos_...
    Please select "OS X Mavericks v10.9" using the drop-down menu on the page.  You have to pick the previous version of Mac OS, because the options for OS X 10.10 Yosemite have not yet been populated.  I sincerely apologize for any confusion this may cause.  After selecting OS X 10.9, please click on the red triangle next to the word "Software" to see the software updates available for your computer.  I would recommend updating all of your software including EOS Utility and Digital Photo Professional."
    I never did find the drop-down menu, but I went into the site map and found what I needed.
    Barry

  • Memory Leak in 8.1.6.0.1 JDBC/OCI for Solaris

    Hello,
    there is a memory leak in the 8.1.6.0.1 JDBC-OCI driver for solaris.
    The leak causes your jvm to eat up all memory
    if you reuse callable statements
    (calling one statement multiple times with
    different values).
    The thin driver has no such problem. Is
    there any fix available ?

    Ok. The code spans multiple classes and
    most of it comes from a customized version
    of the Enhydra Java Application server.
    I have a class called "StandardDBConnection"
    which caches CallableStatements and is a
    wrapperclass for java.sql.DBConnection. The
    interesting method here is "prepareCall":
    * Get a callable statement given an SQL string. If the statement is
    * cached, return that statement, otherwise prepare and save in the
    * cache.
    * @param sql The SQL statement to be called.
    * @return a new CallableStatement object containing the
    * pre-compiled SQL statement.
    * @exception java.sql.SQLException If a database access error occurs
    * statement.
    public synchronized CallableStatement prepareCall(String sql)
    throws SQLException {
    PreparedStatement preparedStmt;
    logDebug ("Prepare call: " + sql);
    validate();
    preparedStmt = (PreparedStatement)preparedStmtCache.get(sql);
    // Check if the object returned by the cache really is a
    // callable statement. if it is not, someone did call first
    // prepareStatement() and now prepareCall() with the same
    // sql. Silently replace the existing cache entry by a
    // callable statement in this case.
    if (preparedStmt instanceof CallableStatement) {
    preparedStmt.clearParameters();
    else {
    // Need to close the old PreparedStatement in case we have to
    // replace it with a CallableStatement
    if (preparedStmt != null) {
    preparedStmt.close();
    else if (preparedStmtCache.size() >= maxPreparedStmts) {
    String key = (String)preparedStmtCache.keys().nextElement();
    ((PreparedStatement) preparedStmtCache.remove(key)).close();
    preparedStmt = connection.prepareCall(sql);
    preparedStmtCache.put(sql, preparedStmt);
    return (CallableStatement)preparedStmt;
    The statements get closed when I close the
    connection:
    boolean closeStmts = true;
    // Close the prepared statements.
    Enumeration e = preparedStmtCache.keys();
    while (e.hasMoreElements() && closeStmts) {
    String key = (String)e.nextElement();
    try {
    ((PreparedStatement)
    preparedStmtCache.remove(key)).close();
    } catch (SQLException except) {
    // Ignore errors, we maybe handling one.
    closeStmts = false;
    log.write(Logger.NOTICE,
    "DBConnection[" + id + "]: " + url +
    "\nUnable to close statements. Continuing....\n");
    In my classes using database queries I just
    use the prepareCall method of DBConnection
    and do not have to care about anything.
    Works perfectly with the thin driver, but
    as soon as I switch to oci... :-|
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDBC Dev Team:
    Soda, Rupper,
    Do you mind posting some code that shows us what your code was doing when you notice this leak?
    Thanks.<HR></BLOCKQUOTE>
    null

  • Help with evaluation for Solaris x86

    Hello,
    I would like to evaluate Oracle Identity Manager and Access Manager products at the latest version possible -- the host system(s) are Solaris x86 (SunOS .5.10) Unfortunately, I am having a bit of trouble compiling the list of packages/versions to achieve this for this platform. For instance, on the downloads page it appears that OIM is not available for Solaris x86, not even in older versions(?)
    Thank you in advance,
    Scott

    Hi Scott,
    I'm pretty sure that x86 Solaris is not yet certified to run the Identity Management suite. I've been involved in an evaluation process and we ran it all on RedHat Enterprise Server Release 4 Update 5, without too many problems.
    cheers,
    James

  • Sun Cluster 3.1 64 bit support  for Solaris 10

    Hi:
    I have some questions when migrate SC 3.1 from solaris 9 to solaris 10.
    1) Does Clutster 3.1 for solaris 10 support 64 bit?
    I have develop own resource type which is compiled with 64 bit mode, while cluster admin program is 32 bit based. E.g. /usr/cluster/bin/scrgadm
    Will that cause any problem? For instance: 32 bit lib and 64 bit lib have the same name libscha.so will be loaded by 32 bit scrgadm and 64 bit my own developped resource type program.
    2) Can I download a Cluster 3.1 install-pkg for solaris 10, 64 bit supported., which means all admin files like scrgadm are 64 bit based.
    Or only ONE Cluster 3.1 version for solaris 10 is deliveried by SUN?
    Thanks in advance!
    BRs
    //rdctahu

    Hi,
    Comments on your 2 questions:
    1) Yes. IIRC, SC31 for S10 actually supports ONLY 64 bit. To be clear, this means
    Solaris has to be booted in 64 bit mode, but 32 bit applications would run just
    fine.
    As for your RT being 64 bit, and scrgadm being 32 bit, no problem.
    2) See (1). You are good.
    Go for it.
    HTH,
    -ashu

Maybe you are looking for

  • Delivery schedule line number in sales order is not populated  in productio

    Hi all, i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order numb

  • I can not login in my Mac Pro with my new apple ID?

    I installed 10.8.5 but I can not login as administrator with my new(confirmed)password:the new password is not accepted. So what can be the reason but more important: how to solve this nasty problem? TIA

  • Can't tag a file even using get info

    Using Macbook Pro, OS 10.9.5 Want to tag certain .dng files. Some files have the tag button greyed out. Went to Get Info, won't allow tags there. File not locked. I have admin read/write priviledges. This is a local file not networked. What is going

  • How Can I Repair this AVI and watch it?

    I have this avi film that's in two parts. I watched the first, but when I start the second, it freezes up after a few seconds. It also freezes in other parts if I try to skip over the "damaged" area. This happens with Quicktime and with VLC, and forc

  • Loadrunner error object not foun trueclient

    trueclient script for oracle adf technology, when replaying the script error "object not found appear" "t=00023125ms: Error -203256: ** 2.1: Move mouse over element (1) ** failed - target object was not found.    [MsgId: MERR-203256]" how i can solve