NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 149 150 151 152 153 … 159 Next »
What compiler to use when porting from linux

 
  • 0 Vote(s) - 0 Average
What compiler to use when porting from linux
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#1
2005-06-01, 06:04 PM
Hi there,

I thought about giving the port of zapcvt a try.
Using djgpp I run into some libc limitations (memory mapped file io)
Anybody a suggestion on what compiler/libc I should use?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#2
2005-06-01, 06:59 PM
How about:

Microsoft Visual C++ Toolkit 2003

The Microsoft Visual C++ Toolkit 2003 includes the core tools developers need to compile and link C++-based applications for Windows and the .NET Common Language Runtime.

http://msdn.microsoft.com/visualc/vctoolkit2003/
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#3
2005-06-01, 07:49 PM
Thanks, I downloaded and will try.
In general I do not have a good experience with microsoft tools when porting from linux.
The libcs are often too different.
Any other suggestions?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#4
2005-06-01, 08:05 PM
FWIW, in my line of work, I write C++ code which must run on Windows, AIX, HP/UX, Solaris, DEC, & Linux. For Windows we do use the Visual Studio .NET 2003 (obviously without the managed code extensions) C++ compiler.

If I have some time tonight, I'll give it a go.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#5
2005-06-01, 08:16 PM
To be more specific, I need a C++ compiler with libc that suppors memory mapped file IO
That means, as far as I understood, it can map a file in memory so you use the virtual memory subsystem of windows to have quick access to any location in the file.
I need the functions mmap, munmap.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#6
2005-06-02, 01:15 AM
erik Wrote:To be more specific, I need a C++ compiler with libc that suppors memory mapped file IO
That means, as far as I understood, it can map a file in memory so you use the virtual memory subsystem of windows to have quick access to any location in the file.
I need the functions mmap, munmap.

Well, I was happily porting using the .NET compiler when I ran into directly what you wrote -- an implementation of mmap/munmap (in the common folder).

I did find this, fwiw: http://66.102.7.104/search?q=cache:aXGL9...=firefox-a

...and they have an implementation near the bottom. I have no idea how well it works.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#7
2005-06-02, 01:17 AM
Oh -- here's probably an obvious question, but have you installed and tried the cygwin tools? You can google for that.

Or, something that I have played around a little at work is Microsoft's UNIX tools for Windows. Check it out here: http://www.microsoft.com/windowsserversy...fault.mspx

It will actually install a UNIXish subsystem on your PC (based on Interix) and allow you to compile unix code. May be worth a shot (and it's free now -- didn't used to be).
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#8
2005-06-03, 07:55 PM
I tried cygwin. It compiles and builds so now I only have to do the hard work because the file created by zapcvt is currupt...
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Is Mac or Linux in my future? My virus story... cncb 20 7,116 2012-01-27, 08:54 PM
Last Post: perry
  Why Linux is not (yet) Ready for the Desktop MixMan 9 3,516 2009-05-28, 12:02 AM
Last Post: psycik
  .NET on Linux? andrew_macaluso 2 2,286 2008-10-15, 10:47 AM
Last Post: sdowney717
  Neuros open set-top box puts Linux in living rooms Satori 3 2,110 2008-07-30, 02:55 AM
Last Post: mvallevand
  GBPVR on Linux? deckhardt 2 2,334 2005-10-15, 06:35 PM
Last Post: cheval
  Linux compatible? roboticalieneater 1 1,880 2005-05-17, 11:10 AM
Last Post: Andy_Burn

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode