Anonymous
Not logged in
Talk
Contributions
Log in
Krupczak.org
Search
Editing
Cartographer Agent Build Instructions
(section)
From Krupczak.org
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Required Environment Variable == The source code is as portable as can be given the requirement that it work across UNIX and Windows. Where necessary, platform-specific code is ''ifdef'd'' by platform name. We use an environment variable '''''SYSTEM''''' which feeds into make files to distinguish which platform we are building on. The following values are recognized: * '''LINUX''' is used to signify 32-bit x86 Linux. Builds on this platform are then currently used on 32-bit and 64-bit x86 and x86_64 systems. * '''WIN32''' is used to signify 32-bit Windows on x86. * '''SOLARIS''' is used to signify 64-bit Solaris 9+ on Sparc V9 chipsets and 32-bit Solaris 9+ on x86. In ''csh'' and ''tcsh'', the following snippet can be used to set the '''''SYSTEM''''' environment variable. Translating to other shells is left as an exercise for the reader. <pre> setenv SYSTEM "unknown" if (-e /bin/uname) then set os_name = `/bin/uname -r` set os_sysname = `/bin/uname -s` else set os_name = `/usr/bin/uname -r` set os_sysname = `/usr/bin/uname -s` endif if ( `expr $os_name : '5.*'` ) then setenv SYSTEM "SOLARIS" endif if ( `expr $os_sysname : 'Linux'` ) then setenv SYSTEM "LINUX" endif </pre>
Summary:
Please note that all contributions to Krupczak.org may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Krupczak.org:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Home
Contact Information
Recent changes
Family Name History
Source Code
SysAdmin Notes
News and Events
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs