summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-24 19:10:08 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-24 19:10:08 +0000
commitc1e2d77b25cc3dbbbc31a1948c2b3ae6769b2b40 (patch)
tree42c54e19b0b47ed954dd62ec86360410638b9221 /bin
parent07e8a1d00d1e2ab1c2b47e3698886f1512bcf03a (diff)
downloadATCD-c1e2d77b25cc3dbbbc31a1948c2b3ae6769b2b40.tar.gz
for cross-compiled targets, set $size properly
Diffstat (limited to 'bin')
-rwxr-xr-xbin/libsize.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/libsize.pl b/bin/libsize.pl
index 57df3565fdf..694e62728f8 100755
--- a/bin/libsize.pl
+++ b/bin/libsize.pl
@@ -9,7 +9,7 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
# Assumes (or builds) the lib with debug=0. Allows other make args,
# such as -j 4, to be passed on the command line.
-$usage="$0 [-h, for html output] [-v] [make args]";
+$usage="$0 [-h, for html output] [-v] [make arguments]\n";
####
#### Configuration parameters.
@@ -93,6 +93,12 @@ if ($ACE_ROOT =~ /vxworks/) {
$WIND_BASE = $ENV{'WIND_BASE'} || $default_wind_base;
$WIND_HOST_TYPE = $ENV{'WIND_HOST_TYPE'} || $default_host_type;
$size = "$WIND_BASE/host/$WIND_HOST_TYPE/bin/size$TOOLENV";
+} elsif ($ACE_ROOT =~ /lynx-ppc/) {
+ $size = '/usr/lynx/3.0.0/ppc/cdk/sunos-xcoff-ppc/bin/size';
+} elsif ($ACE_ROOT =~ /lynx/) {
+ $size = '/usr/lynx/3.0.0/x86/cdk/sunos-coff-x86/bin/size';
+} elsif ($ACE_ROOT =~ /chorus/) {
+ $size = '/project/doc/mvme/green68k/gnu/bin/size';
} else {
$size = 'size';
}