summaryrefslogtreecommitdiff
path: root/symbian/sdk.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-10-31 20:38:42 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-10-31 16:25:23 +0000
commit25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17 (patch)
tree81bd98f725c8e6e8c9d7760fe938f669619fbc56 /symbian/sdk.pl
parentf6ba99206280472c9e353abb350d114de9d2591b (diff)
downloadperl-25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17.tar.gz
Symbian port 0.3.0 as of blead@25911
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@25933
Diffstat (limited to 'symbian/sdk.pl')
-rw-r--r--symbian/sdk.pl15
1 files changed, 13 insertions, 2 deletions
diff --git a/symbian/sdk.pl b/symbian/sdk.pl
index f8eb9c2d4e..6ba8d9b084 100644
--- a/symbian/sdk.pl
+++ b/symbian/sdk.pl
@@ -29,13 +29,24 @@ if ($ENV{PATH} =~ m!\\Symbian\\(.+?)\\(.+?)\\Epoc32\\gcc\\bin!i) {
$SDK_VARIANT = 'S80';
$SDK_VERSION = $ENV{S80SDK} = '2.0';
}
+} elsif ($ENV{PATH} =~ m!\\Symbian\\UIQ_(\d)(\d)\\Epoc32\\gcc\\bin!i) {
+ $SDK_NAME = 'UIQ';
+ $SDK_VARIANT = 'UIQ';
+ $SDK_VERSION = $ENV{UIQSDK} = "$1.$2";
+ if ($SDK_VERSION =~ /^2\./) {
+ $SYMBIAN_VERSION = '7.0s';
+ } else {
+ die "$0: Unknown UIQ version '$SDK_VERSION'\n";
+ }
+ $WIN = 'winscw'; # This is CodeWarrior, how about Borland?
+ $ENV{WIN} = $WIN;
}
-if (open(GCC, "gcc -v 2>&1|")) {
+if (open(GCC, "gcc -v 2>&1 |")) {
while (<GCC>) {
if (/Reading specs from ((?:C:)?\\Symbian.+?)\\Epoc32\\/i) {
$SYMBIAN_ROOT = $1;
- # The S60SDK/S60SDK tells the Series 60 SDK version.
+ # The S60SDK tells the Series 60 SDK version.
if ($ENV{S60SDK}) {
if ($SYMBIAN_ROOT eq 'C:\Symbian\6.1\Shared') { # Visual C.
$SYMBIAN_ROOT = 'C:\Symbian\6.1\Series60';