Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
4060520d
Commit
4060520d
authored
17 years ago
by
fgilham
Browse files
Options
Downloads
Patches
Plain Diff
Add special case for x86_64 to linker.sh.
parent
f3f825c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/linker.sh
+12
-3
12 additions, 3 deletions
tools/linker.sh
with
12 additions
and
3 deletions
tools/linker.sh
+
12
−
3
View file @
4060520d
#!/bin/sh -x
# $Id: linker.sh,v 1.
3
2007/07/1
7
15:
2
5:
1
4 fgilham Exp $
# $Id: linker.sh,v 1.
4
2007/07/1
8
15:
0
5:
3
4 fgilham Exp $
# This file was written by Fred Gilham and is placed in the public domain.
# It comes without warranty of any kind.
...
...
@@ -32,9 +32,18 @@ VER=''
# Set OS-specific variables.
case
"
$OPSYS
"
in
Linux
)
# Handle x86_64 version system. This should be revisited when there's a 64-bit version
# of CMUCL on Linux. Note that -m32 won't work in older versions of GCC which we may
# still want to support.
ARCH
=
`
uname
-m
`
if
[
"
$ARCH
"
=
"x86_64"
]
then
CRTPATH
=
`
$GCC
-m32
-print-libgcc-file-name
`
LIBROOT
=
`
dirname
$CRTPATH
`
fi
STARTCRT
=
"/usr/lib/crt1.o /usr/lib/crti.o
$LIBROOT
/crtbegin.o"
ENDCRT
=
"
$LIBROOT
/crtend.o /usr/lib/crtn.o"
DLINKER
=
'-dynamic-linker /lib/ld-linux.so.2'
STARTCRT
=
"
$LIBROOT
/../../../crt1.o
$LIBROOT
/../../../crti.o
$LIBROOT
/crtbegin.o"
ENDCRT
=
"
$LIBROOT
/crtend.o
$LIBROOT
/../../../crtn.o"
LIBS
=
"-L
$LIBROOT
-ldl -lm -lgcc -lc -lgcc"
;;
FreeBSD
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment