How to migrate an C make file from Window to Solaris?

Hello,
I have the following code that are used to compile the uvapi.so file in Windows. Now, I need to migrate this make file to Solaris.
How to do this?
Many thanks,
George
[email protected]
#Make file
#Version: Windwos
CFLAGS=/DWIN32=1
tstuvapi.exe: tstuvapi.obj uvapi.lib
     cl -o tstuvapi.exe tstuvapi.obj uvapi.lib
uvapi.lib: swuvamod.obj uvapienc.obj
     link /NODEFAULTLIB:libcmt.lib nsldap32v50.lib /DLL /DEF:swuvamod.def /OUT:uvapi.dll swuvamod.obj uvapienc.obj
swuvamod.obj: swuvamod.c
     cl -c $(CFLAGS) swuvamod.c
tstuvapi.obj: tstuvapi.c
     cl -c $(CFLAGS) tstuvapi.c

Do a "man make" to get an idea of makefiles. Also you can
check out: http://docs.sun.com/db?q=-Kpic+-G&p=doc%2F817-3677
on the Linker Manual. Below is an example of a makefile.
% cat Makefile
CC=cc
#CFLAGS=/DWIN32=1
# Link libraries to libuvapib.so
#LIBS=-luvapil
tstuvapi.exe: tstuvapi.o libuvapi
$(CC) -o tstuvapi.exe tstuvapi.o -luvapi
libuvapib.so: swuvamod.o uvapienc.o
$(CC) cc -o libuvapib.so -G -Kpic swuvamod.o uvapienc.o
swuvamod.o: swuvamod.c
$(CC) -G -Kpic -c $(CFLAGS) swuvamod.c
uvapienc.o: uvapienc.c
$(CC) -G -Kpic -c $(CFLAGS) uvapienc.c
tstuvapi.o: tstuvapi.c
$(CC) -c $(CFLAGS) tstuvapi.c

Similar Messages

  • How to import microsoft outlook pst files from window 7 to mac mail

    How to import microsoft outlook pst files from window 7 to mac mail??

    Outlook PST to MBOX Converter is a best and user-friendly software that facilitates smooth conversion of Outlook mailboxes (PST files) to MBOX files. The software supports PST to MBOX migration for Thunderbird, Spicebird, SeaMonkey, and Netscape.
    For more information and free download click http://psttombox.blogspot.com

  • How to transfer video and audio files from windows PC to new ipad?

    How to transfer video and audio files from windows PC to new ipad?

    iTunes: Syncing media content to iOS devices and iPod
    Sync with iTunes.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Music Tab on the right.
    Click on all of the albums, artists, playlists that you want to sync
    Click on the Sync Music Heading.
    Click on Apply in the lower right corner of iTunes
    Follow the same procedure for Movies.

  • How do I print a pdf file from windows 8?

    I can't find a command to print a pdf file. I'm working with windows 8. can anybody tell me how do I find that command?

    Please see FAQ: How to print a PDF file from Adobe Reader Touch.
    Starting from version 1.1, Adobe Reader Touch supports printing.
    If you do not see the Print button in the toolbar, you have an older version of Adobe Reader Touch. Please download and install the latest version of Adobe Reader Touch via the Windows Store.

  • How to migrate dimension member text files from ODI to Hyperion Planning

    Hi
    We are having an issue with ODI that it was not connecting to planning.
    Later with some instructions from oracle, we have tried to set some RMI path in websphere and we tested the RMI connectivity test.
    It was successfully connecting to planning.
    Then we want to test that ODI is connecting to planning or not.
    For this I think if anyone can send the doc relating to dimension member upload thru ODI to hyperion planning using text files, it will be helpful.
    Appreciate if anyone can help us on this.
    Please communicate to [email protected] for doc sending.
    Thanks
    Rajesh Reddy

    Go through His(John's) earlier blogs which very clearly explains how to get connected & keep the ball rolling.
    If you're so scared to use the existing connections, you may want to-
    i) Set up new Master & work repository;
    ii) Do few quick configurations from Topology Manager;
    iii) Create your project, models, Interface;
    Let us know if something isn't still clear.
    - Natesh

  • How do I get my files from windows xp to windows 7, get my files from windows xp to windows 7?

    How do I get my Itune files from Windows XP to Windows 7?

    I have the hard drive from my Window XP pc and want to move those files to my new pc with Windows 7.  It is telling me that I do not have permissions.

  • I use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    i use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    Welcome to Apple Support Communities
    That's the classic behaviour after using Migration Assistant and that's normal.
    To transfer the data from the new user account to your old user account, you can follow some steps. Here is all the information you need to do this > https://discussions.apple.com/docs/DOC-5472

  • I recently purchased a new Macbook Air and used migration to transfer old files from my old PC to the Mac, and now there are songs that I purchased through Itunes on my phone that are not on my Mac, how do I transfer these songs from the phone to the Mac?

    I recently purchased a new Macbook Air and used migration to transfer old files from my old PC to the Mac, and now there are songs that I purchased through Itunes on my phone that are not on my Mac, how do I transfer these songs from the phone to the Mac?

    dnunn wrote:
    ... how do I transfer these songs from the phone to the Mac?
    Transfer Purchases  >  http://support.apple.com/kb/HT1848
    Download Past Purchases  >  http://support.apple.com/kb/HT2519

  • When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    When using Migration Assistant to transfer files from my pc, I get an error message saying that an attempt was made to access a socket in a way forbidden by its access permissions.  How can I fix this?

    You followed:
    http://www.apple.com/support/switch101/

  • I'm using migration assistant to transfer files from my wife old net book to new mac air and the pc dropped out during transfer.  Pc now says waiting for mac to connect and has is stuck at transferring information.  How do I get the process to continue?

    I'm using migration assistant to transfer files from my wife old net book to new mac air and the pc dropped out during transfer. I started up migration assistant on the Pc again and now says waiting for mac to connect! New MacBook Air  is stuck at transferring information.  How do I get the process to reconnect and continue?

    Whew, good luck!
    What version of OSX is on the older one?

  • How to use Migration Assistant to transfer files from osx lion to osx snow leopard

    I have MacBook with osx Lion and I need transfer my user acount to another mac computer (Mac mini) because my MacBook was broke and I send it to service. On Mac mini I have osx Snow Leopard. Is possible to use Migration Assistant to transfer files from osx Lion to osx Snow Leopard?

    Sorry, but there's no way to "go back" with Migration Assistant.
    Can you upgrade the Mini?

  • How do I move all my files from one User Profile (account) into another? I needed to create a new account and want all of my files accessible in the new one.

    How do I move all my files from one User Profile (account) into another?
    I needed to create a new account and want all of my files accessible in the new one.

    ok, what you're learning right now is 101 unix, which is good. Unix is a good thing
    now: the way unix works, and macos (which uses unix underneath) the files and folders work like a hierarchy.
    the start of that tree is /
    so, if you were to do:
    cd /
    (cd means change directory)
    it will bring you at the highest branch of the file system.
    cd /Users
    will bring you to where all the users are.
    to see whats in /Users you can use your friend ls command
    ls means list files/directories
    so:
    cd /Users
    ls -la
    (the -la here means show all (even hidden) and long format (very verbose))  this flag is very optional.
    you will see
    fred
    user2
    for example.
    if you want to see the desktop of user2 you would change directory to it then list the files.
    for example:
    cd /Users/user2/Desktop
    Note that the files and directory are case sensitive, so, desktop is NOT the same as Desktop, or DESKTOP
    ls -la
    you should then be able to see everything in users2 desktop
    you could have done as well the same thing in smaller steps, for example:
    cd /
    cd Users
    cd user2
    cd Desktop
    this is the equivalent of cd /Users/user2/Desktop
    So, for your file, i don't know where it was, but know that if you log in as user2, it will directly put you in
    /Users/user2
    which most likely the file you had created from the other user was in /Users/user1
    if you copied all the files from /Users/original_user to /Users/secondUser
    most likely yes, all your mail, bookmarks etc would be copied over.
    so in your case.
    sudo chown -R seconduser:staff /Users/secondUser
    should work
    Remember that if you start a path with the character /  it means start from the root of the file system, at the highest top you can ever get.
    so
    cd /Users/fred
    is not the same as
    cd Users/fred
    unless you were in / already
    i know it may be confusing at first but it's actually very logical if you play with it.
    to simplify, think of it that / means C:\  on windows
    you can't go any higher than C:\  (in a way)
    if you're unsure which directory you're currently in, you can always type:
    pwd
    it will tell you where you are.
    for example:
    cd /
    pwd
    this shows  /
    cd Users
    pwd
    this now shows /Users
    cd /System/Library
    pwd will show /System/Library
    cd /
    cd /Users
    cd fred
    cd Library
    pwd will show /Users/fred/Library
    unix can look very scary but it's actually vital and very necessary to do tasks sometimes that would take for ever to do via the windows. This is good learning.
    so for the myfile you had created, i can't tell you where it is, at the time you created, if you can do a pwd command you'll know the path,
    ls -la  (this shows all the files where you are)
    if you see myfile in the list
    do a pwd
    whatever is return, the real location of the file would be:
    whatever pwd returned / myfile
    I hope that makes sense.

  • How do I open a .m4a file from Mail into Music app?

    How do I open a .m4a file from Mail into Music app?
    I mixed down a song from my band's latest session and saved it as a .m4a file (Apple AAC Audio format) and I e-mailed it to myself. Then on my phone I opened the e-mail message in Mail and held a long-press down on the attached .m4a file. But I do not see the option to open it up into the Music app. It only gives me the options of iMovie, WeChat, and USB Disk. Why would I want to open it up in those? It's a song. It should open up into the Music app so I can play it. What the heck?
    Please don't tell me that I have to use iTunes to do this and sync my phone to my computer, because I *do not* want to add these songs to my iTunes library. They are *practice session tracks* that I want to listen to then delete later when we have new versions.
    If there is no way to open them into the Music app, then is there a music player app I can get somewhere that will let me simply save audio files from Mail into it, and use it as a player for those songs? That's all I want to do.
    The only reasonable workaround I have found so far is to save them as .mp4 audio files, which the iPhone thinks are movies, so it lets me save them into the camera roll as Videos.
    Voice Memos would be acceptable as a place for them to be able to open into as well, but of course that's also not on the options list. Sigh.

    TJBUSMC1973 wrote:
    You'll have to use iTunes, add it to your iTunes library, then sync it.  You can always delete it from your iTunes library later.
    Why is that such an issue for you?
    Why do people insist on replying to threads without even reading the original post? I explained it there already!
    I don't have to use iTunes to save an image from Mail into my camera roll, or to save a PDF from Mail into iBooks. Why should I have to use iTunes to save a music file into Music app?
    But I'll repeat it since evidently you can't be asked to read the original posts before spamming a thread with questions that have already been answered. I *do not* want to add these songs to my iTunes library.
    My iTunes library is a sacred temple into which I only allow to enter the very best and highest-fidelity musical recordings of all time. I refuse to sully and soil my iTunes library with crappy practice mixdowns from my band, etc.
    Want to know why? Because I like to be able to hit "shuffle all" on my iTunes library and know that something that will improve my existence will emanate forth from this amazing device that I have invested thousands of dollars into (yes, I count my cell phone plan amongst the expenses).
    I shall not have the crappy burner mixdown tracks from my band's practice sessions come up every five songs (we generate TONS of these... literally hundreds... and they are all high-bitrate .m4a tracks in the 10-15 MB range). I let iTunes keep my music folder organized on my computer. It makes copies of everything being placed into it, and I don't want 159 GB of copies of burner tracks hiding like roaches throughout my temple. We don't name these files anything sensible (in fact the guy who mixes them down intentionally gives them random weird names) and they lack metadata. So there's no easy way to delete them back out of iTunes once they're in there. It's a huge pain; I used to do it, but I swore it off years ago and *I'm never going back!*
    The REAL question is, why does Apple force me to have to use iTunes—the most convoluted, kludgy piece of bloatware ever to issue forth from Cupertino—to do something as simple as adding an MP3 from Mail into the Music app on my phone? Why can't there be something simple—something equivalent to the Camera Roll inside the Music app, not only for the files I want to save from Mail, but also for my Garage Band exports, not to mention all the exports from all the various synthesizer, drum machine, and recording apps I use on a daily basis in iOS?
    It would be awfully nice to be able to play the songs I've recorded right in the Music app without having to go through the rigamarole of adding those files to my iTunes library, tagging them with metadata, syncing, etc. etc. yadda yadda yadda—just to delete them again as soon as I've synced so they don't pollute my computer's iTunes library!
    I bought Apple for ease of use, not so I would be forced to jump through a million hoops just do to something that ought to take one tap to accomplish!  That's ridiculous!

  • How to transfer files from windows 7 to macbook pro

    how to transfer files from windows 7 pc to my new macbookpro

    You can use your external hard drive that is used to backup your important data to transfer the data from your PC to your Mac.
    If your Windows 7 PC is a laptop and you live near an Apple store, make an appointment at the Genius bar where they will help you transfer the data you want transferred from your PC to your MBP.

  • How to get InputStream of uploaded file from request?

    The situation:
    Client is uploading xml file to server.
    <form METHOD=POST ENCTYPE = "multipart/form-data" action="SendFile" accept="text/xml">
              <input type="file" name="SentFile" />
              <input type="submit" value="go"/>
    </form>Then I need to parse data from file.
    I want to use method javax.xml.parsers.DocumentBuilder.parse(InputStream is)
    But, how to get InputStream of uploaded file from request?

    You cannot get the InputStream of the uploaded file directly. The InputStream you can obtain from request.getInputStream() contains a lot of other data as well as the uploaded file. You will have to parse the data in the InputStream to find the data that belongs to the file.
    A short cut is to use the HTTP Multipart File Upload available from www.jenkov.com. It simplifies file upload and makes it easy to obtain an InputStream for only the uploaded file. It also handles upload of multiple files. It is free, open source, Apache license, so if it doesn't fit your needs, you can always read the code and see how it works. Then write your own upload servlet.

Maybe you are looking for

  • Artist info, track number, album title won't show up in iTunes

    When I view the songs in explorer, I am able to see the info, but not in iTunes. When I am in iTunes and click on "get info" the ID3 tags are showing as v2.3 and only the track title is showing. When I "add folder to library" and the little progress

  • IDVD does not respond & freezes

    I have tried deleting the .com.apple.iDVD.plist and then iDVD works fine. problem is when i save a project and try to open it the .com.apple.iDVD.plist file comes back and the little loading ball appears and I have to force quit iDVD. Also I have tri

  • How to setup Supp Life Coverage reduction with age

    Hi All, Ravi, We have a problem with Supplement life coverage dropping on non flex program window when there is a reduction in age. When somebody moves from 64 to 65, the benefit won't show up on non flex window after starting a LE (open enrollment)

  • GRC CUP 5.3 SP16.3 Mitigation Controls automation removal

    Does anyone know that if you create any user requests to remove roles from a user, that if any mitigation controls were assigned to the users for those roles, the mitigating control ids can also be automatically removed from RAR during auto provision

  • How may i know wich data are deleted from my sql database.

    Im using sql server 2005 someone deleted some transaction from my database.In my database audit is not enable. How may i know wich data is deleted? plz help me.