delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/10/12:38:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Chris Giuffre" <chris AT parallelreality DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: newbie library help..
Date: Mon, 11 Feb 2002 03:14:35 +1000
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 26
Message-ID: <3c66aa9b$0$7485$afc38c87@news.optusnet.com.au>
NNTP-Posting-Host: 210.49.57.41
X-Trace: 1013361307 7485 210.49.57.41
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

howdy,

can someone please tell me what is going on.. i'm trying to figure out how
to make a c library using ar but i keep getting an error message which i
don't understand. i believe that the ar.exe i'm using comes from binutils
which is part of the entire djgpp download.. anyways here is the stuff
needed... (btw i'm running XP pro).

printHello.c
#include <stdio.h>

int printhello() {

    printf("Hello World!");
    return 0;

}

>gcc -c printHello.c

>ar rc libtest.a printHello.o
c:/compil~1/djgpp/bin/ar.exe: libtest.a: rename: Not enough memory (ENOMEM)

>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019