Compiling Apple Top on Linux


 
Thread Tools Search this Thread
Operating Systems Linux Compiling Apple Top on Linux
# 1  
Old 05-24-2005
Compiling Apple Top on Linux

Hello all.

I recently tried compiling Apple's version of top on my Linux system. Can someone with some C experience explain why it won't build . . . and any tips to getting it to compile.

Any help appreciated.

BTW, you can pick up the Apple source code here:

http://www.opensource.apple.com/darw.../top-15.tar.gz

Thanks.
Blah
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compiling FORTRAN into Linux

Hello, I use Linux on Ubuntu 12.04. I have a fortran script with extension .f and I want to compile it to an executable file in linux. I have used this command: f77 -o snp_hwe.exe snp_hwe.f But I receive this error: (.text+0x18): undefined reference to `main' collect2: ld returned 1... (1 Reply)
Discussion started by: Homa
1 Replies

2. Programming

compiling old C program in Linux.

Hello, I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT: http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies

3. Programming

Compiling Objective-C 2.0 under Linux

Hello all, I am new to programming and currently I am taking a swing at Objective-C. I easily compile my programs on my Macintosh, and have compiled some Objective-C programs on my linux box. The problem I am having is when I try to use features demonstrated in the book Programming in... (4 Replies)
Discussion started by: inquen
4 Replies

4. Programming

Cross compiling under Windows for Linux

I have two headless servers I am writing code for, and a Windows box networked with them. I want to compile my code within an IDE on the Windows box (eclipse most likely) and run the compiled binarys on the Linux boxes. Will this work? Using Cygwin (or MinGW)? Thoughts? Cheers, Ian (8 Replies)
Discussion started by: IanVaughan
8 Replies
Login or Register to Ask a Question
DISKTYPE(1)						    BSD General Commands Manual 					       DISKTYPE(1)

NAME
disktype -- disk format detector SYNOPSIS
disktype file... DESCRIPTION
The purpose of disktype is to detect the content format of a disk or disk image. It knows about common file systems, partition tables, and boot codes. USAGE
disktype can be run with any number of regular files or device special files as arguments. They will be analyzed in the order given, and the results printed to standard output. There are no switches in this version. Note that running disktype on device files like your hard disk will likely require root rights. See the online documentation at <http://disktype.sourceforge.net/doc/> for some example command lines. RECOGNIZED FORMATS
The following formats are recognized by this version of disktype. File systems: FAT12/FAT16/FAT32, NTFS, HPFS, MFS, HFS, HFS Plus, ISO9660, ext2/ext3, Minix, ReiserFS, Reiser4, Linux romfs, Linux cramfs, Linux squashfs, UFS (some variations), SysV FS (some variations), JFS, XFS, Amiga FS/FFS, BeOS BFS, QNX4 FS, UDF, 3DO CD-ROM file system, Veritas VxFS, Xbox DVD file system. Partitioning: DOS/PC style, Apple, Amiga "Rigid Disk", ATARI ST (AHDI3), BSD disklabel, Linux RAID physical disks, Linux LVM1 physical volumes, Linux LVM2 physical volumes, Solaris x86 disklabel (vtoc), Solaris SPARC disklabel. Other structures: Debian split floppy header, Linux swap. Disk images: Raw CD image (.bin), Virtual PC hard disk image, Apple UDIF disk image (limited). Boot codes: LILO, GRUB, SYSLINUX, ISOLINUX, Linux kernel, FreeBSD loader, Sega Dreamcast (?). Compression formats: gzip, compress, bzip2. Archive formats: tar, cpio, bar, dump/restore. Compressed files (gzip, compress, bzip2 formats) will also have their contents analyzed using transparent decompression. The appropriate com- pression program must be installed on the system, i.e. gzip(1) for the gzip and compress formats, bzip2(1) for the bzip2 format. Disk images in general will also have their contents analyzed using the proper mapping, with the exception of the Apple UDIF format. See the online documentation at <http://disktype.sourceforge.net/doc/> for more details on the supported formats and their quirks. HOMEPAGE
http://disktype.sourceforge.net/ AUTHOR
Christoph Pfisterer <chrisp@users.sourceforge.net> SEE ALSO
file(1), gpart(8) Feb 21, 2005