Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2000 05:33:04 -0800
From:      Julian Elischer <julian@elischer.org>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Andrew Otwell <andrew@networkcomputerz.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: porting a Linux app
Message-ID:  <3A1D1C90.F5C508FD@elischer.org>
References:  <3A1C4F5F.81D0EF07@networkcomputerz.com> <3A1C537D.CCEB458E@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel C. Sobral" wrote:
> 
> Andrew Otwell wrote:
> >
> > gcc -static -I /pathto/new/include -L /pathto/new/lib sourcefile.c
> 
> -nostdlib -nostdinc

and don't forget to compile the libries on freeBSD..you can't just use
the Linux ones

> 
> --
> Daniel C. Sobral                        (8-DCS)
> 
> dcs@newsguy.com
> dcs@freebsd.org
> capo@united.bsdconspiracy.net
> 
>         "All right, Lieutenant, let's see what you do know. Whatever it is,
> it's not enough, but at least you haven't done anything stupid yet."
>         "I've hardly had time, sir."
>         "There's a naive statement."
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Budapest
            v




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1D1C90.F5C508FD>