[project @ 2006-01-09 14:25:44 by simonmar]
authorsimonmar <unknown>
Mon, 9 Jan 2006 14:25:44 +0000 (14:25 +0000)
committersimonmar <unknown>
Mon, 9 Jan 2006 14:25:44 +0000 (14:25 +0000)
configure.ac
ghc/driver/mangler/ghc-asm.lprl

index 9f99c20..5458c53 100644 (file)
@@ -197,6 +197,15 @@ i[[3456]]86-*-gnu*)
         HostVendor_CPP=unknown
         HostOS_CPP=gnu
         ;;
+i[[3456]]86-*-kfreebsd*-gnu)
+        HostPlatform=i386-unknown-kfreebsdgnu # hack again
+        TargetPlatform=i386-unknown-kfreebsdgnu
+        BuildPlatform=i386-unknown-kfreebsdgnu
+        HostPlatform_CPP='i386_unknown_kfreebsdgnu'
+        HostArch_CPP='i386'
+        HostVendor_CPP='unknown'
+        HostOS_CPP='kfreebsdgnu'
+        ;;
 i[[3456]]86-*-freebsd[[3-9]]*) # FreeBSD 3.0+ uses ELF
        HostPlatform=i386-unknown-freebsd # hack again
        TargetPlatform=i386-unknown-freebsd
index 1c75f00..760175a 100644 (file)
@@ -160,7 +160,7 @@ sub init_TARGET_STUFF {
     $T_HDR_vector   = "\.text\n\t\.align 2\n"; # NB: requires padding
 
     #--------------------------------------------------------#
-    } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|gnu|freebsd|netbsd|openbsd)$/ ) {
+    } elsif ( $TargetPlatform =~ /^i386-.*-(solaris2|linux|gnu|freebsd|netbsd|openbsd|kfreebsdgnu)$/ ) {
 
     $T_STABBY      = 0; # 1 iff .stab things (usually if a.out format)
     $T_US          = ''; # _ if symbols have an underscore on the front